@charset "utf-8";
/* CSS Document */

/* ------------------------------------------  
COMMON
------------------------------------------ */
*{
	margin:0;
	padding:0;
}

html {
	overflow-y: scroll;
}

body {
	height: 100%;
	margin: 0 auto;
	-webkit-text-size-adjust: 100%;
	color:#2C2C2C;
	text-align:center;
	font-size:medium;
	font-family:"Helvetica Neue", YuGothic,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","メイリオ",Meiryo,"ＭＳ Ｐゴシック",sans-serif;
}


a			{outline: none; color: #9561ea; text-decoration:none;}
a:visited	{color: #9561ea;}
a:hover		{opacity: 0.7;
			filter:progid:DXImageTransform.Microsoft.Alpha(Enabled=1,Style=0,Opacity=70);
			-webkit-transition:0.5s;
			-moz-transition: 0.5s;
			-o-transition: 0.5s;
			transition: 0.5s;
			}
			
a:active	{color: #b40066;}

img {
	border:none;
	max-width: 98%;
	margin:0 1% 0;
	width: auto\9;
	height: auto;
	vertical-align:bottom;
}

.contents_ec img{
	margin:0;
	max-width:100%;
}

p img {
	max-width: 100%;
	margin:0;
}

a img:hover	{
	opacity: 0.7;
	filter:progid:DXImageTransform.Microsoft.Alpha(Enabled=1,Style=0,Opacity=70);
	-webkit-transition:0.5s;
	-moz-transition: 0.5s;
	-o-transition: 0.5s;
	/*-ms-transition: 0.5s; IEで変な動きする*/
	transition: 0.5s;
}

p{
	line-height:1.7em;
	margin:0 2% 20px;
	text-align:left;
}

	.half p, .grid2 p, .grid1 p, .grid3 p, .grid4 p{margin:0 1% 10px;}

#about p{color:#fff; text-align: center;}


#wrapper {
	width: 100%;
}

.small{font-size:70%;}
/* ------------------------------------------  
Breadcrumb NavXT
------------------------------------------ */
.breadcrumbs {
	width: 1000px;
	max-width: 98%;
	min-height: 1.6em;
	line-height: 1.6em;
	padding: 6px 0;
	margin: 0 auto 20px;
	font-size: 65%;
	color:#898989;
	text-align:left;
	box-sizing:border-box;
	border-bottom:1px solid #ddd;
	}
	
	.breadcrumbs p{margin:0 0 10px;}

.breadcrumbs a,
.breadcrumbs a:visited {
	color:#898989;
	}

.breadcrumbs a:hover{
	opacity: 0.7;
	filter:progid:DXImageTransform.Microsoft.Alpha(Enabled=1,Style=0,Opacity=70);
	}

.breadcrumbs a:after{
	font-family: "Font Awesome 5 Free";
	font-weight:  900;
	content: "\f0da";
	padding: 0 1.0em;
	text-decoration: none;	
	}


/* ------------------------------------------  
HEADER
------------------------------------------ */
#header{
	width: 100%;
	margin: 0 auto;
	z-index: 9998;
	position: fixed;
	background: url("https://nojiri-dent.com/wp-content/uploads/2019/08/head.png");
	background-repeat:repeat-x;
	background-position:bottom;
	background-size: contain;
}


.home header{
	position: absolute;
	z-index: 102;
	background:none;
}

	#header-inner{
		width:98%;
		margin: 20px auto;
	}

	#header-left{
		float:left;
		width:28%;
	}

	#header-left h1 a{
		display:block;
		text-indent:-99999px;
		background-image:url(https://nojiri-dent.com/wp-content/uploads/2019/08/h1.png);
		background-image/*\**/: url(https://nojiri-dent.com/wp-content/uploads/2019/08/h1_ie.png) \9;
		background-repeat:no-repeat;
		background-size: contain;
		background-position:0;
		padding: 15px;
	}

	
	#header-right{
		float:right;
		width:70%;
		margin:20px 0 0;
	}

ul#menu{padding:0;}

ul#menu li {
    display: block;
    float: right;
    list-style: none;
	box-sizing: border-box;
	font-size: 90%;
}


	.contact_nav{border-left: 1px solid #666;}

	ul#menu li a{
		padding:10px 15px;
	    box-sizing: border-box;
		color:#2C2C2C;
		display: inline-block;
		float: left;
		width: 100%;
		position: relative;
		text-decoration: none;
	}


ul#menu li a::after {
  position: absolute;
  bottom: 3px;
  left: 0;
  content: '';
  width: 100%;
  height: 3px;
  background: #c7c3e2;
  opacity: 0;
  visibility: hidden;
  transition: .3s;
}

ul#menu li a:hover::after {
  bottom: -4px;
  opacity: 1;
  visibility: visible;
}

.contact_nav {
	display: inline-block;
	float: right;
	padding: 0 11px;
	margin:0 0 0 20px;
}

.DIN{
	font-family: din-2014, sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size:20px;
}

.smalltext{font-size:10px;}

#remodal_menu{display: none;}

/* ロゴ左ボタンスペース *********************************/
.logo-side-left {
	position: fixed;
	top: 250px;
	right:0;
	text-align: left;
	z-index: 9999;
	-webkit-writing-mode: vertical-rl;
   -ms-writing-mode: tb-rl;
   writing-mode: vertical-rl;
}

.logo-side-left p{margin:0;}

/* ロゴサイドボタン **************************************/
.logo-side-button {
   display: inline-block;
   padding:10px;
   text-align: center;
   text-decoration: none;
   outline: none;
	-webkit-border-radius: 10px 0 0 10px / 10px 0 0 10px;
   -moz-border-radius: 10px 0 0 10px / 10px 0 0 10px;
   border-radius: 10px 0 0 10px / 10px 0 0 10px;
}
.logo-side-button,
.logo-side-button::before,
.logo-side-button::after {
    -webkit-transition: all .3s;
    transition: all .3s;
}
a.logo-side-button {
    background-color: #c7c3e2;
	color:#fff;
}

/* ------------------------------------------  
BUTTON
------------------------------------------ */

.button {
    text-align: center;
    margin: 20px auto;
    clear: both;
	display: block;
}


	.button a, .button a:visited {
		min-width: 150px;
		text-align: center;
		position: relative;
		overflow: visible;
		display: inline-block;
		padding: 10px 20px;
		margin: 10px auto;
		color: #5A5A5A;
		text-decoration: none;
		cursor: pointer;
		border: 1px solid #5A5A5A;
		border-radius: 2px;
		zoom: 1;
	}

.button.full a, .button.full a:visited {
	display: block;
}

.button a:hover{
	background-color:#DBDBDB;
	border-color:#aaa;
}

/* ------------------------------------------  
TABLE
------------------------------------------ */
table {
	border: 1px solid #aaa;
	border-collapse: separate;
	border-spacing: 0;
	border-radius: 6px;
	overflow: hidden;
	width: 100%;	
}

.page table{
	width:96%;
	margin:0 auto;
}

table thead,table tbody{
	width: 100%;
}


table thead th,
table tbody th,
table tbody td {
	padding: 10px;
	border-bottom: 1px solid #aaa;
	font-weight: normal;
}

table thead th + th,
table tbody td {
	border-left: 1px solid #aaa;
}
table tbody tr:last-child th,
table tbody tr:last-child td {
	border-bottom: none;
}

	#info table tbody th{width:35%;}
	#info table tbody td{width:7%;}
	#info table tbody td:last-child{width:23%;}

/* ------------------------------------------  
CONTENTS
------------------------------------------ */

.single #contents,.error404 #contents,.search-results #contents{padding-top:150px;}

section{margin:40px 0;}
 section#wpp-2, section#wpp-6{margin:0;}


.inner{
	width: 1000px;
    margin: 0 auto;
}

.titleback{
	background-size:cover;
	background-position: right bottom;
	background-repeat:no-repeat;
	padding: 40px 0 200px;
	position: absolute;
	width: 100%;
}

#blog .titleback{
		background-image:url("https://nojiri-dent.com/wp-content/uploads/2019/08/thought.jpg");
}

#about .titleback{
	background-image:url("https://nojiri-dent.com/wp-content/uploads/2019/08/aboutus.jpg");
}

#news ul{
	text-align: left;
	list-style:none;
	margin: 0 0 10px;
}

#news ul li a{
	display: block;
	padding: 10px 0;
	border-bottom:1px dotted #aaa;
	color:#2C2C2C;
}

#news ul li span{
	font-size:14px;
	color:#aaa;
	margin-right:10px;
	display:block;
}

#news ul li a:hover{
	background-color:#E9E9E9;
}

.column{margin-top: 200px;}

.article div{
	border-top:1px dotted #aaa;
	margin-bottom: 10px;
}

.popular .wpp-list div{
	padding:15px 0;
	margin:0 2%;
	border-bottom:1px dotted #aaa;
}


.popular p{
	line-height: 1.5em;
	margin-bottom:0;
}

.data{
	font-size: 14px;
	color:#aaa;
	display: block;
	line-height: 1em;
	margin: 0 1%;
	text-align:left;
}

.latest_blog .data{
	padding-top: 5px;
	border-top:1px dotted #aaa;
}



.article .data{padding-top:10px;}
.single .data{margin:0 2% 40px;}
.news_list .data{margin:0 1% 10px;}

.clinicimages{
	position: relative;
	top: 200px;
}

.clinicimages .grid1{
	margin-bottom:10px;
}


#pagemove {
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 80px;
    height: 80px;
    text-indent: -99999px;
    background-image: url(https://nojiri-dent.com/wp-content/uploads/2019/08/pagemove.png);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: 0 0;
    z-index: 200;
}

.page iframe{
	width:96%;
	margin:0 auto 40px;
}

.bn_set{
	padding-top:40px;
	border-top:1px dashed #2C2C2C;
}

/* ------------------------------------------  
ec
------------------------------------------ */
.contents_ec{
	background-size: cover;
	background-repeat: no-repeat;
	background-position:bottom center;
	margin-bottom:40px;
}

#blog_ec{background-image: url(https://nojiri-dent.com/wp-content/uploads/2019/08/ec_blog.jpg;)}
#news_ec{background-image: url(https://nojiri-dent.com/wp-content/uploads/2019/08/ec_news.jpg;)}
#ec84{background-image: url(https://nojiri-dent.com/wp-content/uploads/2019/08/ec_84.jpg;)}
#ec2{background-image: url(https://nojiri-dent.com/wp-content/uploads/2019/08/ec_2.jpg;)}

/* ------------------------------------------  
news
------------------------------------------ */

.news_list{
	margin-bottom: 40px;
	padding: 10px;
	background-color: #fff;
	border-bottom: 1px solid #cdcdcd;
}

/* ------------------------------------------  
Pagenav-
------------------------------------------ */

.wp-pagenavi {
    clear: both;
    margin: 30px 0;
    font-size: 85%;
    text-align: center;
    padding-top: 30px;
}

.wp-pagenavi span.pages {
    clear: both;
    display: block;
    margin-bottom: 20px;
    padding: 8px 6px;
    background: #f2f2f2;
    border-radius: 2px;
	border:none;
}

.wp-pagenavi span {
    text-decoration: none;
    padding: 8px;
    margin: 2px;
}

.wp-pagenavi a, .wp-pagenavi .current, .wp-pagenavi .last, .extend {
    margin: 10px 5px;
}

.wp-pagenavi a:hover, .wp-pagenavi span.current{border:1px solid #ccc;}

.wp-pagenavi a {
	display: inline-block;
	padding: 5px 12px;
   margin: 0 3px;
    color: #ffffff;
    background: #c7c3e2;
    text-decoration: none;
    border-radius: 6px;
    width: 30px;
}

.wp-pagenavi a:hover {
    background: #9561ea;
    color: #ffffff;
	border:none;
}

.wp-pagenavi span.current {
	padding:3px 20px;
	color:#b1b1b1;
	border-color: #ccc;
	border-radius:2px;
}

.wp-pagenavi a, .wp-pagenavi .current, .wp-pagenavi .last, .extend {
margin: 10px 5px;
}

#nav-single {
    font-size: 85%;
    margin:40px 2% 20px;
    padding: 20px 0;
	display: flex;
    justify-content: space-between;
	border-top:1px solid #000;
}

*, ::before, ::after {
    box-sizing: border-box;
}

#nav-single a{
	display: flex;
    position: relative;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    height: 100%;
    padding: 0px 20% 0px 60px;
}

#nav-single div:first-child {
    border-right: 1px dotted #aaa;
}

#nav-single a::before{
content: "";
    position: absolute;
    left: 0px;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
    width: 20px;
    height: 20px;
    border-top: 2px solid rgb(0, 0, 0);
    border-left: 2px solid rgb(0, 0, 0);
    transition: transform 0.3s ease 0s, border 0.3s ease 0s;
}

#nav-single .nav-next a{
    justify-content: flex-end;
    text-align: right;
    padding: 0px 60px 0px 20%;
    transition: color 0.3s ease 0s;
	}

#nav-single .nav-next a::before{
left: auto;
    right: 0px;
    border-top-width: initial;
    border-left-width: initial;
    border-top-color: initial;
    border-left-color: initial;
    border-style: none solid solid none;
    border-image: initial;
    border-bottom: 2px solid rgb(0, 0, 0);
    border-right: 2px solid rgb(0, 0, 0);
}

.nav-previous,.nav-next{
	    min-height: 77px;
    flex: 1 1 0%;
}

.nav-next a{    justify-content: flex-end;
    text-align: right;
    padding: 0px 60px 0px 20%;
    transition: color 0.3s ease 0s;}

.nav-back{text-align:center; display:block; margin:20px 0 40px;}

.nav-back a {
    background: #c7c3e2;
    color: #ffffff;
    display: inline-block;
    line-height: 1.6em;
    padding: 10px 15px;
    min-width: 33px;
    text-decoration: none;
}

.nav-back a:hover{background:#9561ea;}

/* ------------------------------------------  
検索結果
------------------------------------------ */	

.search-results article{
	border-bottom:1px dashed #ccc;
	margin-bottom:40px;
}

.search-results h3{
	background:none;
	border-bottom:1px solid #ccc;
	margin: 10px 1%;
   padding-bottom: 5px;
}

.entry-meta{
	text-align:left;
    margin: 10px auto;
    width: 98%;
}

.archive .entry-meta{
	margin:0 2% 5px;
	font-size:80%;
	color:#aaa;
}

.search-results p{margin: 0 1% 5px;}
/* ------------------------------------------  
BALLOON
------------------------------------------ */	
.balloon {
	position: relative;
	display: inline-block;
	margin: 1.5em 0;
	padding: 30px;
	min-width: 120px;
	max-width: 100%;
	color: #555;
	font-size: 16px;
	background: #e0edff;
	position: relative;
	top: 200px;
	border-radius: 10px;
}

.balloon:before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -15px;
  border: 15px solid transparent;
  border-top: 15px solid #e0edff;
}

.balloon p {
  margin: 0;
  padding: 0;
}


/* ------------------------------------------  
FOOT
------------------------------------------ */	
.gmap iframe {
pointer-events:none;
}

#access{margin-top:300px; margin-bottom:0;}

footer {
    background-color: #e3e0f1;
    padding: 40px 0 0;
    box-sizing: border-box;
}

footer .DIN{
	font-size: 250%;
}

#copy {
    background-color: #9096cb;
}

#copy p {
    max-width: 1000px;
    width: 96%;
    margin: 0 auto;
    padding: 20px 0 10px;
    color: #fff;
    text-align: center;
    font-size: 13px;
}

.footlogo.half{
	margin: 15px 2% 30px;
}

/* ------------------------------------------  
TITLE
------------------------------------------ */
h2{
	font-size: 25px;
	font-weight: bold;
	border-bottom:solid 4px #c7c3e2;
	color:#2C2C2C;
	margin:20px 0 40px;
	padding-bottom:5px;
	display: inline-block;
}

.single h2{
	display:block;
	text-align:left;
	margin:20px 2% 0;
	border:none;
}

#blog h2{
	display: block;
	margin: 0 2%;
	font-size: 30px;
	font-weight: normal;
	text-align: left;
	color:#2573bf;
	border:none;
	font-family: "游明朝体", "Yu Mincho", YuMincho, "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "serif";
	
}

#about h2{
	color:#fff;
	border-bottom:none;
	margin:20px 0 10px;
}

.contents_ec h2{
	border:none;
	padding:200px 0 100px;
	margin:0;
	font-family: "游明朝体", "Yu Mincho", YuMincho, "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "serif";
	font-weight:normal;
	font-size:30px;
}

h3{
	text-align: left;
	font-size:24px;
	font-weight: bold;
	color:#2C2C2C;
	margin:20px 2% 10px;
}

.page h3{
	margin:20px 2%;
}

.archive h3{
	margin:0 1% 20px 1% ;
	padding-bottom: 10px;
	border-bottom: 1px dotted #ddd;
}

.bn_set h3{
	font-size:18px;
	margin:0 1% 5px;
}

h4{
	text-align: left;
	font-size:18px;
	font-weight: normal;
	color:#2C2C2C;
	margin:10px 2% 10px;
	padding:10px 0;
	border-top:1px solid #2C2C2C;
	border-bottom:1px solid #2C2C2C;
}

h5{
	font-size: 16px;
	text-align:left;
	margin: 10px 1% 20px;
}

a h5{
	font-weight:normal;
	color:#000;
}

a h5:hover{color:#818181;}

.wpp-list li{text-align:left;}
ul..wpp-list{margin: 20px 6px;}


/* ------------------------------------------  
BOX
------------------------------------------ */
/* grid */
.grid1,
.grid2,
.grid3,
.grid4,
.half{
	float: left;
	display: inline;
	margin:0 1% 40px;
}

.grid1	{width: 31.33%;}
.grid2	{width: 64.67%;}
.grid3	{width: 31.33%;}
.grid4	{width: 23.00%;}
.half	{width: 46%; margin:0 2% 20px;}
.grid_full {width: 96%; margin:0 2% 20px;}


.right	{float:right;}
.left	{float:left;}
.center{text-align:center;}
.aligncenter{
    text-align: center;
    margin: 0 auto;
    display: block;
}




/* ------------------------------------------  
for - 1070px * important *
------------------------------------------ */
@media screen and (max-width:1070px) {
	
	#header-inner{width:100%;}

}

/* ------------------------------------------  
for - 979px
------------------------------------------ */
@media screen and (max-width:979px) {

	ul#menu{font-size:14px;}
	ul#menu li a{padding: 10px;}
	

	#blog h2{width:98%;}
	
	.inner{width: 100%;}
	
	#blog .titleback {
    background-image: url(https://nojiri-dent.com/wp-content/uploads/2019/08/thought_1000.jpg);
}
	#about .titleback {
    background-image: url(https://nojiri-dent.com/wp-content/uploads/2019/08/aboutus_1000.jpg);
}
		
}


/* ------------------------------------------  
for - 768px
------------------------------------------ */
@media screen and (max-width:768px) {
	#header-inner{margin-top:0;}

	#main_nav{display: none;}
	
	#remodal_menu a .fa{display: block;}
	
	#remodal_menu{
		display: block;
		padding: 0 20px;
		float: right;
	}
	
	#remodal_menu a{color: #2C2C2C; font-size: 30px;}
	#remodal_menu a span{font-size:40%;display: block;}

#header-left h1 a{
		background-image:url(https://nojiri-dent.com/wp-content/uploads/2019/08/h1_sp.png);
	}
	
	#blog h2{font-size:25px;}
	
	.contents_ec h2{padding: 150px 0 80px;}
	
	#info .half,.page .half{
		float: none;
		width: 96%;
		clear:both;
		margin:0 2% 15px;
	}

	table{
	font-size:80%;
	}
	
	footer .half{
	float: none;
	width: 96%;
	clear:both;
	margin:0 2% 15px;
}

}


/* ------------------------------------------  
for - 680px
------------------------------------------ */
@media screen and (max-width:680px) {

/*
#header-left h1 a{
    margin: 0 auto;
    position: fixed;
	}

	#header-right {
    width: 100%;
}*/

	#header-left{width:16%;}
	
#header-right ul {
    margin-top: 20px;
}
	
	#header-right ul li{
		width:50%;
	}
	
		#header-right ul li a{
			border-bottom:1px solid #eed8af;
		}
	
 .logo-side-left {
        display:none;
    }
	
	#blog .titleback {
    background-image: url(https://nojiri-dent.com/wp-content/uploads/2019/08/thought_sp.jpg);
}
	#about .titleback {
    background-image: url(https://nojiri-dent.com/wp-content/uploads/2019/08/aboutus_sp.jpg);
}
	
	#about .titleback p{
		text-shadow: 1px 2px 2px #808080;
	}

	#blog h2 br.br_none{display: none;}
	#about h2 { text-shadow: 1px 2px 2px #808080;}
	
#blog_ec{background-image: url(https://nojiri-dent.com/wp-content/uploads/2019/08/ec_blog_sp.jpg;)}
#news_ec{background-image: url(https://nojiri-dent.com/wp-content/uploads/2019/08/ec_news_sp.jpg;)}
#ec84{background-image: url(https://nojiri-dent.com/wp-content/uploads/2019/08/ec_84_sp.jpg;)}
#ec2{background-image: url(https://nojiri-dent.com/wp-content/uploads/2019/08/ec_2_sp.jpg;)}

	
/* grid 540 */
.grid1,
.grid2,
.grid3{
	float: none;
	width: 96%;
	clear:both;
	margin:0 2% 15px;
}

.grid4{
	width: 46%;
	margin:0 2% 15px;
}

	
/* pagemove*/
#pagemove{
	right:0;
	width: 60px;
	height:60px;
	background-size:60px 60px;
}
	


}
	
		
/* ------------------------------------------  
CLEARFIX-HACK
------------------------------------------ */
section:after,
#header-inner:after,
#menu:after,
.inner:after,
#main:after,
footer:after,
#copy:after,
.grid1:after,
.grid2:after,
.grid3:after,
.grid4:after,
.half:after,
.right:after,
.box:after,
#pagemove:after,
.clearfix:after{
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
font-size: 0;}

section,
#header-inner,
#menu,
.inner,
#main,
footer,
#copy,
.grid1,
.grid2,
.grid3,
.grid4,
.half,
.right,
.box,
#pagemove,
.clearfix{display: inline-block;}

/* Hides from IE-mac \*/
* section,
* html #header-inner,
* html #menu,
* html .inner,
* html #main,
* html footer,
* html #copy,
* html .grid1,
* html .grid2,
* html .grid3,
* html .grid4,
* html .half,
* html .box,
* html .right,
* html #pagemove,
* html .clearfix{height: 1%;}

section,
#header-inner,
#menu,
.inner,
#main,
footer,
#copy,
.grid1,
.grid2,
.grid3,
.grid4,
.half,
.box,
.right,
#pagemove,
.clearfix{display: block;}
/* End hide from IE-mac */