@charset "UTF-8";
/*
Theme Name: yuokai
Description: yuokai Clinic.
Version: 9.99
*/

#yoyaku {
	top:20%;
	right:0;
	position:fixed;
	z-index:99;
}

.foot_logo {
	text-align: center;
	padding: 10px 20px;
}

.foot_logo img,
.foot_logo2 img {
	width:100%;
	max-width:200px;height:auto;
}

.foot_logo2 {
	width:100%;
	max-width:720px;height:auto;

	display: table;
	table-layout: fixed;
	margin: 0 auto;
}

.foot_logo2_c1,
.foot_logo2_c2,
.foot_logo2_c3 {
	display: table-cell;
	width: 33.33%;
	text-align: center;
	padding: 10px 20px;
}

.news_tag {
	font-size:0.8em;
	color: #666;
	border: 1px solid #666;
	padding: 2px 7px;
	border-radius: 3px;
	margin-left:10px;
}


#pageTop {
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 9999;
}

#pageTop a {
	width: 48px;
	height: 48px;

	font-size:1em;
	padding:10px;
	font-weight: bold;
	line-height:1;
	color: #252823;
	text-decoration: none;

	text-align: center;

	display: block;
	border-radius: 60px;
	background-color: #f9f9f9;
	border: 3px solid #252823;
 }

#pageTop a:hover {
	text-decoration: none;
	opacity: 0.7;
}


header {
	border-top: 5px solid #6cad98 !important;
}
.page-takeshita > header {
	border-top: 5px solid #e88e82 !important;
}
.page-ishinagi > header {
	border-top: 5px solid #68afbb !important;
}
.page-kosai > header {
	border-top: 5px solid #eeb67f !important;
}

#Nav_bar {
	width:100%;
	max-width:40%;
	display:block;
	position:absolute;
	left:0;top:0;
    -webkit-filter: drop-shadow(2px 2px 3px rgba(0,0,0,0.5));
	filter: drop-shadow(2px 2px 3px rgba(0,0,0,0.5));
}

#Nav_bar li a {
	width:100%;max-width:100%;
}

#Nav_bar li {
	display:table-cell;
}

#Nav_bar li > a img {
	-webkit-filter: grayscale(100%);
	filter: grayscale(100%);
}

#Nav_bar li.active > a img {
	-webkit-filter: grayscale(0);
	filter: grayscale(0);
}

#Nav_bar li:hover > a img {
	width:100%;
	max-width:100%;
	height:auto;
	-webkit-filter: grayscale(0);
	filter: grayscale(0);
}

.swiper-slide > img {
    -webkit-filter: drop-shadow(0px -7px 5px rgba(0,0,0,0.5));
	filter: drop-shadow(0px -7px 5px rgba(0,0,0,0.5));
}

h2.screen-reader-text {
	display:none;
}

nav.pagination {
	position:relative !important;
}

ul.pagination li a.active {
    background-color: #4CAF50;
    color: white;
}

ul.pagination li a:hover:not(.active) {background-color: #ddd;}

.hint2 {font-size:0.85em;color:#777;}
.line_001 {border:none;border-top:1px solid #ccc;margin: 20px auto 20px;}
.line_002 {border:none;border-top:1px dashed #ccc;margin: 10px auto 10px;}

@media screen and (min-width: 639px) { 
	.img_50per { max-width:320px; }
}

h3.sp_view{
    border:solid 1px #ddd;
  -moz-border-radius: 5px; /* FF */
  -webkit-border-radius: 5px;/* Webkit */
  border-radius: 5px;
  background: #eee;
  background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#eee));
    background: -moz-linear-gradient(top,  #fff,  #eee);
    padding: 5px;margin-bottom:15px;
  -pie-background:linear-gradient(top,  #fff,  #eee);
}
h3.sp_view span {
  border-left:5px #3cf solid;
  padding-left:10px;
}



.calls {
	font-size:1.8em;
	font-weight:600;
	color:#333;
	text-align:center;
	text-decoration:none;

	display:block;
	margin:0 auto;
}

.fix_tag {
	position: -webkit-sticky;
	position:sticky;
	top:220px;left:10px;
	z-index: 9999;
}


#sidemenu {
	width:260px;
	background:#aaa;
	display:block;

	margin: 20px 20px 20px 20px;
	padding:20px 0;
	border-radius: 5px 5px;
	box-shadow: 5px 5px 7px -5px #aaa;
/*	border-top: 10px solid #887551;*/
}

#sidemenu .mainmenu {
	list-style:none;
}

#sidemenu .mainmenu li {
	width:100%;
	text-align:center;
}

#sidemenu .mainmenu li:first-child a {
	border-top: none;
}

#sidemenu .mainmenu li a {
	width:85%;
	font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", serif;
	font-size:16px;
	font-weight:600;
	line-height:2.3;
	color:#fff;
	padding: 5px 10px;
	margin: 0 auto;
	display:block;
	position:relative;
	border-top: 1px dashed #ccc;
	transition: 0.2s;
	text-decoration:none;
}

#sidemenu .mainmenu li {
	background: linear-gradient(to right, transparent 50%, #fff 50%);
	background-size: 200% auto;
	background-position: 0 0;

	transition: 0.2s;
	overflow:hidden;
}

#sidemenu .mainmenu li:hover a, 
#sidemenu .mainmenu li:hover a i {
	color:#aaa;text-decoration:none;
}

#sidemenu .mainmenu li:hover {
	background-position: -100% 0;
}




/**
pages
*/
.flex_content {
	display:flex;
	flex-flow: row wrap;
	justify-content: space-between;
	align-items: stretch;
}

.item, .item2 {
	flex-basis: 48.5%;
	position:relative;
}

.item {
margin-bottom:20px;
}

.item > a img,
.item6 > a img {
	border:1px solid #ccc;
	padding:10px;
	background:#fff;
}

.item2 {
	border:1px solid #ccc;
	padding:20px;
	background:#fff;
}

.item3 {
	flex-basis: 30%;
	position:relative;
	margin:0 0 3em;
	border-radius:10px;
	overflow:hidden;
}

.item4 {
	flex-basis: 100%;
	position:relative;
	margin:0 0 18.5px;
	
	border-left:7px solid #1b4898;
	border-radius:3px;
	box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.5);
}

.item5 {
	flex-basis: 23.3%;
	position:relative;
	vertical-align:middle;
	flex-direction: column;
}

.item6 {
	flex-basis: 31.5%;
	position:relative;
}

.cont_01 {order:2;}
.cont_02 {order:1;}
.cont_03 {order:3;}
.cont_04 {order:4;}
.cont_05 {order:6;}
.cont_06 {order:5;}
.cont_07 {order:7;}
.cont_08 {order:8;}


.sitemap {
	max-width:1080px;
	margin:0 auto;
	padding:20px 0 40px;
}

.sitemap > li > ul > li:not(:first-child) {
	font-size:14px;
}

.sitemap > li > ul > li:first-child a {
	font-size:1em;
}

.sitemap ul {
	list-style:none;
	padding:10px;
}

.sitemap > li {
	width:33.3%;
	display:inline-block;

	vertical-align:top;
}

.sitemap > li > ul > li:not(:first-child) {
	text-indent:1.5em;
}

@media only screen and (max-width: 1079px) {
.item3 {
  flex-basis: 48.5%;
  position: relative;
  margin: 0 0 30px;
  border-radius: 10px;
  overflow: hidden;
}
}

@media only screen and (max-width:959px) {
#yoyaku {
	display:none !important;
}

.item, .item6, .item2 {
	flex-basis: 100%;
	margin-bottom:10px;
	position:relative;
}
.item5 {
	flex-basis: 48.5%;
}

.cont_01 {order:1;}
.cont_02 {order:2;}
.cont_03 {order:3;}
.cont_04 {order:4;}
.cont_05 {order:5;}
.cont_06 {order:6;}
.cont_07 {order:7;}
.cont_08 {order:8;}
}

/******************************************************
* WordPress Origin Class
******************************************************/

.wp-caption{
  max-width: 100%;
}
.wp-caption-text{
  text-align: left;
}
.alignright{
  float: right;
}
.alignleft{
  float: left;
}
.aligncenter{
  clear: both;
  display: block;
  margin: 0 auto;
}

@media screen and (max-width:768px) {
  .alignright,
  .alignleft,
  .aligncenter{
    float: none;
    text-align: center;
    display: block;
    margin: 0 auto;
  }
}

/******************************************************
*Style for wrap
*
* - Includes main visual, main contents and sidebar.
******************************************************/

#wrap{
  margin-bottom: 20px;
}

@media screen and (max-width:768px) {
  #wrap{
    margin-top: 70px; /*Set the height of header.*/
  }
}

/******************************************************
*  Style for main contents
*
* - Stretch according to the width of the browser.
******************************************************/

/*Wrapper id of main contents.*/
#primary{
  float: left;
  width: 100%;
  margin-right: -220px; /*Set a value more than the width of the sidebar.*/
  padding-right: 220px; /*Set a value more than the width of the sidebar.*/
}
#primary main{
  border: 1px #BBB solid;
  padding: 10px;
}

@media screen and (max-width:768px) {
  #primary{
    float: none;
    margin: 0 0 20px 0;
    padding: 0;
  }
}

/******************************************************
*  Style for sidebar
*
* - Fixed width.
******************************************************/

/*Wrapper id of sidebar.*/
#secondary{
  float: right;
  width: 200px; /*Set the width of sidebar.*/
  border: 1px #BBB solid;
  margin-bottom: 20px;
  padding: 10px;
}

/*Wrapper class of widget.*/
#secondary .widget{
  border: 1px #BBB solid;
  padding: 10px;
}
#secondary .widget:not(:last-child){
  margin-bottom: 10px;
}

@media screen and (max-width:768px) {
  #secondary{
    float: none;
    width: 100%;
  }
}

/******************************************************
*  Style for Front Page (displays Your latest posts)
*
* - The body tag has 'home' when you select 'Front page displays Your latest posts'.
* - Describe here if you want to define unique style on the Front Page.
******************************************************/

/*Style for the article box. */
.home .archive-entry{
  display: table;
  border: 1px #BBB solid;
  padding: 10px;
  width: 100%;
}

/*Style for the article thumbnail. */
.home .archive-entry .entry-thumbnail{
  display: table-cell;
  width: 200px; /*Set the width of the thumbnail.*/
  vertical-align: middle;
}

/*Style for the article title and excerpt. */
.home .archive-entry .entry-main{
  display: table-cell;
  vertical-align: top;
  padding-left: 10px;
}
.home .archive-entry .entry-main h3 a{
  font-size: 18px;
}

@media screen and (max-width:768px) {
  .home .archive-entry .entry-thumbnail{
    display: block;
    width: 100%;
    text-align: center;
  }
  .home .archive-entry .entry-thumbnail img{
    max-width: 200px;
  }
  .home .archive-entry .entry-main{
    display: block;
  }
}

/******************************************************
*  Style for Single Page
*
* - The body tag has 'single' class on the single page.
* - Describe here if you want to define unique style on the single page.
******************************************************/

/*Style for the article title.*/
.single h2.entry-title{
  font-size: 20px;
}

/*Style for the article thumbnail. */
.single .entry-thumbnail{
  text-align: center;
}
.single .entry-thumbnail img{
  width: 100%;
  max-width: 250px; /*Set the max width of the thumbnail.*/
}

/*Style for the article content. */
.single .entry-content{
  border: 1px #BBB solid;
  margin-bottom: 10px;
}

/*Style for the pagenation. */
.single .pagenation{
  border: 1px #BBB solid;
  margin-bottom: 10px;
  padding: 10px;
}
.single .pagenation .prev{
  float: left;
}
.single .pagenation .next{
  float: right;
}

/*Style for the tag. */
.single .tag{
  border: 1px #BBB solid;
  margin-bottom: 10px;
  padding: 10px;
}

/******************************************************
*  Style for Archive Page
*
* - The body tag has 'archive' class on the archive page.
* - Describe here if you want to define unique style on the archive page.
******************************************************/

/*Style for the archive category title.*/
.archive h2.archive-title{
  font-size: 20px;
}

/*Style for the article box. */
.archive .archive-entry{
  display: table;
  border: 1px #BBB solid;
  padding: 10px;
  width: 100%;
}

/*Style for the article thumbnail. */
.archive .archive-entry .entry-thumbnail{
  display: table-cell;
  width: 200px; /*Set the width of the thumbnail.*/
  vertical-align: middle;
}

/*Style for the article title and excerpt. */
.archive .archive-entry .entry-main{
  display: table-cell;
  vertical-align: top;
  padding-left: 10px;
}
.archive .archive-entry .entry-main h3 a{
  font-size: 18px;
}

@media screen and (max-width:768px) {
  .archive .archive-entry .entry-thumbnail{
    display: block;
    width: 100%;
    text-align: center;
  }
  .archive .archive-entry .entry-thumbnail img{
    max-width: 200px;
  }
  .archive .archive-entry .entry-main{
    display: block;
  }
}

@media only screen and (max-width:719px) {
	#right_fix {
		display:none;
	}