@charset "UTF-8";
/*
Theme Name: takase
Description: takase clinic.
*/

#pageTop {
	width:48px;height:48px;
	background-color: #0f7685;
	padding:0;

	position: fixed;
	bottom: 20px;
	right: 10px;
	z-index: 9999;

	border-radius:24px;
	border: 2px solid #fff;
}

#pageTop a.toplink {
	width:100%;height:100%;
	background-color: transparent;
	display: inline-block;

	font-size:12px;
	color: #fff;
	line-height:48px;
	text-decoration: none;
}

#pageTop a.toplink:after {
	content:'▲';
}

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

.micon > img {
	width:20px;height:20px;
}

/* メガメニューの微調整 */
.megamenu {
	background:#0f7685 !important;
}

.megamenu > table {
	width:100%;
	max-width:1120px;
	height:auto;
	margin: 15px auto;
	table-layout:fixed;
}
.megamenu > table td {
	padding: 10px;
}
.megamenu td {
	width:33.3%;
	vertical-align:top;
}
#nav_bar {
	background:#ece1ca;
	background:linear-gradient(#fff, #fefefe, #ece1ca, #ece1ca);
	box-shadow: 0 0 3px rgba(0,0,0,0.6);
}

.menu {
 display: flex;
 justify-content: space-between;
	max-width:1080px;
	margin: 0 auto;
	list-style:none;
}
 
.menu li {
width: calc( (100% / 6) );
 padding: 10px 0;
 text-align: center;
 transition: all .2s ease;
}

.menu > li {
height:75px;
transition: all .2s linear;
border-top: none;
}

.menu > li:hover {
border-top: #0f7685 5px solid;
}

.menu li > a {
	font-size:17px;
	font-weight:600;
	color: #444;
	line-height:24px;

	position: relative;
	display: inline-block;
	border-right: 2px solid #ccc;

	text-decoration: none;
	text-align:center;
	vertical-align:middle;
	width:100%;height:55px;
}

.menu li:first-child > a {
	border-left: 2px solid #ccc;
}

.menu > li:hover .megamenu {
 max-height: 9999px;
 opacity: 1;
 padding: 10px 0 20px;
}
 
.megamenu {
 background: #fff;
 max-height: 0;
 opacity: 0;
 overflow: hidden;
 width: 100%;
 position: absolute;
 top: 155px;
 left: 0;
 transition: all .2s ease-in;
 z-index: 999;
border-bottom: 1px solid #ccc;
}

.menu_content-img > img {
transition: all .1s ease-in;
border-radius:5px;
margin:0;
box-shadow: none;
}
.menu_content-img:hover > img {
box-shadow: 0 0 5px rgba(255,255,255,0.85);
}



.p_4020 {
  padding: 40px 20px;
}
.tel_style a {
  font-size: 3em;
  font-weight: 800;
  text-decoration: none;
  color: #fff;
  line-height: 1;
}

.tel_style2 a {
  font-size: 3em;
  font-weight: 800;
  text-decoration: none;
  color: #0f7685;
  line-height: 1;
}

.biz-hour {
  border-collapse: collapse;
}
  .biz-hour {
	font-size:0.9em;
    width: 100%;
  }

.biz-hour td {
	width:calc(80% / 7);
  padding: 20px 10px;
  text-align: center;
  border-top: 1px solid #aaa;
  border-left: 1px solid #aaa;
}

.biz-hour th {
	width:calc(80% / 7);
  padding: 20px 10px;
  text-align: center;
  font-weight: normal;
  border-left: 1px solid #aaa;
}

.biz-hour td:first-child,
.biz-hour th:first-child {
	width:20%;
	border-left:none;
}

.biz-hour th.sat {
  color: #3db2da;
}

.biz-hour th.sun {
  color: #e66a6a;
}




#pc_visual_area {
  height: calc(80vh - 120px);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;

	background-image: url('/img/main.jpg');
	background-size: cover;
	background-position:center center;
	background-attachment:fixed;
}

@media screen and (min-width: 768px){
	#pc_visual_area {
/*	  min-width: 960px;
	  min-height: 100vh;*/
	}
}


.footer_fix {
	position:fixed;
	display:block;
	left:0;bottom:0;
	background: rgba( 255, 255, 255, 0.9);
}

.footer_fix img {
	width:100%;height:auto;
	max-width:480px;
	max-height:80px;
}

.color_f01 {
	background:#b28247;
}

.color_f02 {
	background:#c13432;
}

.color_f03 {
	background:#229c61;
}

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 solid #ccc;margin: 10px auto 10px;}

@media screen and (min-width: 719px) { 
	.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:190px;left:10px;
	z-index: 999;
}


#sidemenu {
	width:240px;
	background:rgba(44,44,44,0.75);
	display:block;

	margin: 20px 20px 20px 20px;
	padding:20px 0;
	box-shadow: 5px 5px 7px -5px #aaa;
}

#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: 'Kosugi Maru', sans-serif;
	font-size:16px;
	font-weight:400;
	line-height:2;
	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:#444;
	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 {
/*	padding:10px; */
}

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

.item2 {
}

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

.item_smu {
	background:#fff;
/*	border-top:5px solid #0f7685;*/
	box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.5);
}

.item_smu ul {
	margin-bottom:2em;
}
.item_smu ul li {
	width:100%;
	height:48px;
}
.item_smu ul li a {
	display:block;
	width:100%;height:48px;
	font-size:0.9em;
	line-height:48px;
	padding-left:20px;
	border-top:1px dashed #0f7685;
	text-decoration:none;

	position:relative;
	background-position: 0 0;
	transition: all 0.3s ease-out;
	overflow:hidden;

	background: linear-gradient(to right, #fff 50%, #0f7685 50%);
	background-size: 200% auto;
}
.item2 > div {
	padding:10px;
}

.item2 > div img:first-child {
	border-top:1px solid #0f7685;
}
.item2 > div img {
	border-left:1px solid #0f7685;
	border-right:1px solid #0f7685;
}

.item_smu > div img,
.item2 > div img,
.item6 > div img {
	vertical-align:bottom;
}
.item_smu ul li:last-child a {
	border-bottom:1px dashed #0f7685;
}

.item_smu ul li a:hover,
.item_smu ul li a:hover i {
	background-position: -100% 0;
	color:#fff;
	font-weight:600;
	text-decoration:none;
}

.item_smu ul li a::after {
	content: "\f0a9";
	font-family: FontAwesome;
	position:absolute;
	right:-100%;
	color:#fff;
	transition: 0.4s ease-out;
}

.item_smu ul li a:hover::after {
	right:20px;
}


.item4 {
	flex-basis: 100%;
	position:relative;
	margin:0 0 2em;
	
	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: 30%;
	position:relative;
	margin:0 0 2em;
	overflow:hidden;
}

.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:8;}
.cont_08 {order:7;}


.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:719px) {
.item {
	flex-basis: 100%;
	position:relative;
}
.item2 {
	flex-basis: 100%;
	margin-bottom:10px;
}
.item3 {
	flex-basis: 100%;
	position:relative;
	margin-bottom:1em;
}

.item5 {
	flex-basis: 48.5%;
	margin-bottom:1em;
}

.item6 {
	flex-basis: 100%;
	margin-bottom:1em;
}

.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:719px) {
  .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:719px) {
  #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:719px) {
  #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:719px) {
  #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:719px) {
  .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:719px) {
  .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;
  }
}
