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




.header-img {
    background-image:url("../images/common/header-01.png");
    background-size: cover;
    height: 150px;
    background-position: center;
    color: #fff;
    padding: 15px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;   /* //　ここ大事　// */　
    align-items: center;
    flex-direction:column;  
    text-align: center;
    position: relative;
    z-index: -2;
}

.header-img h1 img {
    width: 43%;
    height: auto;
    position: absolute;
    top: 10px;
    left:20px;
    z-index: -1;
    
}
.header-img p {
    font-size: 1.4em;
    font-weight:normal;
/*    text-shadow: black 1px 1px 5px,black -1px 1px 5px,black 1px -1px 5px,black -1px -1px 5px;*/
    margin-top: 0;
    position: absolute;
    top: 97px;
    left:30px;
    color: #01349f;
}



/*　「PC・スマホ」改行設定　*/
.br-pc { display:none; }
.br-sp { display:block; }


.toppost {
    padding: 15px;
}

.toppost div {
    display:flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.toppost article {
    padding: 0;
    width: 48%;
    flex: none;
}

.toppost article:not(:nth-last-child(-n+2)){
    margin-bottom: 12px;    
}

.toppost h3 {
    margin: 0;
    font-size: 14px;
    color: #7E7E7E;
    text-align: center;
}

.toppost a:hover {
    opacity: 0.8;
}

h2 {
  position: relative;
  padding: 0.2em;
  background: #FFCD1E;
  color: #fff;
  font-weight: bold;
  text-shadow: 0 0 10px  #d6ab00;
  letter-spacing: .1em;
}

h2::before {
  position: absolute;
  content: '';
  top: 100%;
  left: 0;
  border: none;
  border-bottom: solid 10px transparent;
  border-right: solid 25px rgb(196, 172, 75);
}

.container {
  width: 90%;
  margin: 0 auto;
}

.header-container {
  width: 100%;
  margin: 0 auto;
}

.container.cover{
    width: 100%;
}

.wrapper > section {
    margin: 30px 0 50px 0;
}

.infomation {
    background: #F7F7F7;
    height: 350px;
    overflow: hidden;
}

.clinic-add h5 {
    color: #777777;
    font-size: 1.2em;
    font-weight: normal;
    text-align: center;
    margin: 0;
}


.header-gazou {
    background-image: url("../images/page/nisshin/nisshin-header.jpg");
    background-size:cover;
    background-position: center;
    height: 200px;
    margin-top: 10px;
}



.pc-img { display: none !important; }
.sp-img { display: block !important; }



/*　======= returnボタン =======　*/
#pageTop {
  position: fixed;
  bottom: 3px;
  right: 20px;
}

#pageTop i {
  padding-top: 0px;
  padding-bottom: 20px;
}

#pageTop a {
  display: block;
  z-index: 30;
  padding:5px 5px 0 5px;
  border-radius: 50px;
  width: 50px;
  height: 50px;
  background-color: #5F5F5F;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
}
/*　======= returnボタン　END =======　*/
 

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

.main-nav {
	display:none;
}

/*　======= フッタークレジット =======　*/
.fn-2 dl {
    text-align: left;
    line-height: 1.5;
}

.fn-2 dd.header-tel {
    font-size: 1.8em;
}

.fn-2 img {
    max-width: 180px;
}

.contact-text p {
    line-height: 1.6em;
}

.ns-koubai {
    padding-bottom: 100px;
}
/*　======= PC版（大）の設定ここまで =======　*/


/*====================
{{スマホを基本設計にする}}
 - 〜479px：SP縦
 - 480px〜599px：SP横
 - 600px〜959px：タブレット
 - 960px〜1279px：小型PC
 - 1280px〜：大型PC
====================*/

/* 〜350px以下：旧SP 縦
------------------------------ */
@media (max-width: 360px){ 
.header-img p {
    font-size: 1.3em;
    top: 100px;
} 
} /*-- END --*/


/* 〜700px以下： メインナビ消す
------------------------------ */
@media (max-width: 700px){ 



} /*-- END --*/



/* 600px以上　タブレット：PC
------------------------------ */
@media (min-width: 600px){    

/* PC版：トップページ：ヒーローイメージ  */
    
.header-img h1 {
    font-size: 32px;    
    } 
    
.header-img h1 img {
    width: 35%;
    height: auto;
    position: absolute;
    top: 15px;
    left:25px;
    
}  

.header-img p {
    font-size: 1.8em;
    font-weight:normal;
    margin-top: 0;
    position: absolute;
    top: 125px;
    text-align: center;
}        
    
.header-img {
    height: 190px;
	top: 0;
    margin-bottom: 50px;
}
	
.clinic-add h5 {
    text-align: left;
    padding-left: 1.5em;
}

/* PC版：トップページ：4項目  */ 
.toppost article {
    width: 23%;        
    }   
    
.toppost article:not(:nth-child(-n+2)){
    margin-bottom: 0;    
}

header p {
    display: inline;
    text-align: left;
    }

header a {
    margin: 0px;
    }
 
span {display: inline-block;}

.zdo_drawer_menu {
    display: none;
    }
    

 
header {
	display: block;
    }
    
.main-nav {
	display:block;
}
    
.ns-flex {
    display: flex;
   justify-content: space-between;
}

.contact-img {
    width: 40%;
}
    
.contact-text {
    width: 100%;
    padding-right: 0%
}  
    
.ns-koubai {
    padding-bottom: 100px;
}

.header-gazou {
    height: 130px;
}

.nav-wrap {
    background: #FFC687;
}
   
.contact-text li {
    font-size: 1.2em;
    line-height: 1.6em;
}

section.ns-koubai p {
    font-size: 1.2em;
    padding-left: 2em;
}
    
.contact-text-img {
    width: 60%;
    padding-right: 0%;
    font-size: 1.1em;
}   
    
    
}  /*-- END --*/   

/* 768px以上　iPad 縦
------------------------------ */
@media(min-width:768px){
    
.header-img {
    height: 240px;
}
    
.header-img p{
    margin-top: 36px;
}
    
.header-gazou {
    height: 130px;
}
    
}  /*-- END --*/   

/* 960px以上　タブレット横：PC
------------------------------ */

@media(min-width:960px){
 
.illust-map{
    width: 45%;
    margin-left: 5%;
}
    
.access-text {
    width: 45%;
    margin-left: 5%;
    
} 
    
.header-img h1 img {
    width: 28%;
}
   
} /*-- END --*/ 

/* 480px〜599px：SP横
------------------------------ */
@media screen and (min-width:480px) and (max-width:599px) { 

.header-img h1 img {
    width: 30%;
}    
    
} /*-- END --*/

/* 568px〜767px：SP横
------------------------------ */
@media screen and (min-width:568px) and (max-width:767px) { 

.header-img h1 img {
    width: 28%;
}    
    
} /*-- END --*/


/* 600px〜959px：タブレット
------------------------------ */
@media screen and (min-width:600px) and (max-width:959px) {
/*　PC版「コンテンツ」ブロック　*/
#top .hero p {
    font-size: 2em;
    top: 400px;
    left:150px;
} 

h1 {
    font-size: 40px;
}


 header {
    padding:15px 5px 15px 2px;
    }     
    
.pc-img { display: block !important; }
.sp-img { display: none !important; }    
  
 
       
    
} /*-- END --*/

/* 960px〜1279px：小型PC
------------------------------ */
@media screen and (min-width:960px) and (max-width:1279px) {

#top .hero p {
    font-size: 1.8em;
    top: 380px;
    left:120px;
} 
    
/*　「スマホ・PC」改行設定　*/
.br-pc { display:block; }
.br-sp { display:none; }
  

    
    
.header-container .header-add {
    padding: 0;
  } 

.fn-1 {
    width: 45%;
    float: left;
}
    
.fn-2 {
    width: 45%;
    float: right;
}  

.footer-nav {
    overflow: auto;
    }    
  
    
} /*-- END --*/

/* 1280px〜：大型PC
------------------------------ */
@media screen and (min-width:1280px) {
      
 .header-img {
height: 320px;
}  
.header-img h1 img {
    top: 30px;
}
.header-img p {
    margin-top: 100px;
} 

/*　「スマホ・PC」改行設定　*/
.br-pc { display:block; }
.br-sp { display:none; }


#top .hero p {
    font-size: 1.8em;
    top: 380px;
    left:150px;
} 



.container {
    max-width: 1200px;
    }

.header-container {
    max-width: 1200px;
    }
    
.header-container .header-add {
    padding: 0 2em 0 27em;
  } 
    


.fn-1 {
    width: 45%;
    float: left;
}
    
.fn-2 {
    width: 45%;
    float: right;
}  

.footer-nav {
    clear: both;
    overflow: auto;
    }  


    
} /*-- END --*/
