/*PCでは無効（改行しない）*/
.sma{
    display: none;
}

/*スマートフォンでは有効（改行する）*/
@media screen and (max-width:768px) {
    .sma{
        display: block;
    }
}

h3 {
    font-size: 16pt;
    color: #009b40;
    text-align: center;
    font-family: "Noto Sans Japanese";
    font-weight: 500;
}

h3 span {
    font-size: 20pt;
    font-weight: normal;
    margin-right: 2px;
    vertical-align: -3px;
}

#news h3 span {
    font-size: 17pt;
}


/* スライドショー部分 */
section#slide {

}
.bgsw {
    position: relative;
    z-index: 1;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    width: 100%;
    height: 100vh;
    min-height: 750px;
    margin: 0 auto;
	overflow: hidden;
}

.bgsw div {
    width: 1000px;
    margin: 0 auto;
	
}

@media screen and (max-device-width: 1024px) {
    .bgsw {
        width: inherit;
        height: inherit;
        min-height: inherit;
        background-size: 1024px auto;
        background-attachment: inherit;
    }
    .bgsw div {
        width: 950px;
    }
}

.bgsw ul {
    clear: both;
    margin-top: 70px;
    margin-left: 470px;
    z-index: 4;
    position: relative;
    color: rgba(255, 255, 255, 0.7);
    font-size: 16pt;
    table-layout: fixed;
    display: table;
    list-style-type: none;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 20px;
}

.bgsw ul li {
    display: table-cell;
    padding: 7px 10px;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    transition: 0.3s;
    font-family: "Rounded Mplus 1c";
}

.bgsw ul li:hover {
    cursor: pointer;
    color: rgba(255, 255, 255, 1.0);
}

.bgsw div img {
    margin-top: 100px;
}

.bgsw img {
    z-index: 2;
    position: relative;
}

img#scroll_layer {
    z-index: 3;
    width: 100%;
    height: auto;
    display: block;
    position: absolute;
    bottom: 0;
}


/* 旧リハビリ */
section#catch {
    margin-top: 60px;
    background-color: #f0ede6;
}

section#catch article {
    width: 1000px;
    margin: 0 auto;
    padding-right: 500px;
    padding-top: 65px;
    background-image: url(../image/top/gaikan.jpg);
    background-repeat: no-repeat;
    background-position: right center;
    height: 500px;
}

section#catch article div {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 40px 0 50px 0;
    overflow: hidden;
}

section#catch article div em {
    font-size: 12pt;
    text-align: center;
    display: block;
    line-height: 1.8em;
}

section#catch article div ul {
    margin: 0 auto;
    padding-top: 30px;
    width: 420px;
}

section#catch article div ul li {
    list-style-type: none;
    float: left;
    margin-right: 10px;
    margin-bottom: 20px;
}

section#catch article div ul li:nth-child(even) {
    margin-right: 0;
}

section#catch article div ul li:nth-child(n+3) {
    margin-bottom: 0;
}

section#catch article div ul li a {
    display: block;
    border: 2px solid #009b40;
    color: #009b40;
    text-align: center;
    font-weight: bold;
    font-size: 13pt;
    width: 200px;
    height: 90px;
    padding-top: 35px;
    border-radius: 10px;
}

section#catch article div ul li a:hover {
    background-color: #009b40;
    color: #fff;
}


/* 医療科目 */
section#subjects {
    margin-top: 60px;
    background-color: #f0ede6;
}

section#subjects article {
	display:flex;
	justify-content: space-between;
    width: 1000px;
    margin: 0 auto;
    padding-top: 65px;
	background-image: url(../image/top/gaikan.jpg);
    background-repeat: no-repeat;
    background-position: right center;
    height: 500px;

}

section#subjects article div.sinryou {
	width: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 40px 30px 20px 30px;
	margin-bottom: 30px;
	margin-right: 80px;
    overflow: hidden;
}

section#subjects article div.tokutyou {
	width: 25%;
    padding-top: 250px;
	margin-bottom: 30px;
    overflow: hidden;
}

section#subjects article div em {
    font-size: 12pt;
    text-align: center;
    display: block;
    line-height: 1.8em;
}

section#subjects article div ul {
    margin: 0 auto;
    padding-top: 30px;
    width: 420px;
}

section#subjects article div ul li {
    list-style-type: none;
    float: left;
    margin-right: 10px;
    margin-bottom: 20px;
}

section#subjects article div ul li:nth-child(even) {
    margin-right: 0;
}

section#subjects article div ul li:nth-child(n+5) {
    margin-bottom: 0;
}

section#subjects article div ul li a {
    display: block;
    border: 2px solid #009b40;
	background-color: rgba(255, 255, 255, 0.9);
    color: #009b40;
    text-align: center;
    font-weight: bold;
    font-size: 13pt;
    width: 200px;
    height: 75px;
    padding-top: 28px;
    border-radius: 10px;
}

section#subjects article div ul li a:hover {
    background-color: #009b40;
    color: #fff;
}

/* リハビリテーション写真バック仮 
section#rehabilitation {
    margin-top: 60px;
    background-color: #f0ede6;
}

section#rehabilitation article {
    width: 1000px;
    margin: 0 auto;
    padding-top: 50px;
    height: 500px;
	text-align: center;
}

section#rehabilitation article h3 {
    font-size: 23pt;
	font-weight: bold;
    text-align: center;
    display: block;
    line-height: 1.8em;
}
	
.flex {
	display:flex;
	justify-content: space-between;
}



section#rehabilitation article .line {
	display: block;
    border: 2px solid #009b40;
    color: #009b40;
    text-align: center;
    font-weight:bolder;
    font-size: 13pt;
    width: 220px;
    height: 250px;
    border-radius: 10px;
	margin-top: 40px;
}

		figure.snip {
		  font-family: "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
		  color: #fff;
		  position: relative;
		  overflow: hidden;
		  margin: 10px 1%;
		  min-width: 100%;
		  max-width: 100%;
		  max-height: 100%;
		  width: 100%;
		  background-image: -webkit-linear-gradient(top, #ffffff 0%, #ffffff 70%);
		  background-image: linear-gradient(to bottom, #ffffff 0%, ffffff 70%);
		}

		figure.snip * {

		  -webkit-transition: all 0.35s ease;
		  transition: all 0.35s ease;
		}

		figure.snip img {
		  max-width: 100%;
		  -webkit-transition: all .3s ease-out;
		    -moz-transition: all .3s ease-out;
		    -ms-transition: all .3s ease-out;
		    transition: all .3s ease-out;
		}
		figure.snip:hover img,
		figure.snip.hover img {
		  opacity: 0.8;
		  -moz-transform: scale(1.2);
		  -webkit-transform: scale(1.2);
		  -ms-transform: scale(1.2);
		  transform: scale(1.2);
		}
		figure.snip figcaption {
		  position: absolute;
		  bottom: 0%;
		  left: 0;
		  width: 100%;
		  z-index: 1;
		  -webkit-transform: translateY(100%);
		  transform: translateY(100%);
		}

		figure.snip h4 {
		  margin: 0;
		  width: 100%;
		  padding: 10px 20px 10px 20px;
		}

		figure.snip p {
		  margin: 0;
		  width: 100%;
		  padding: 5px 20px 10px 20px;
		}

		figure.snip h4 {
		  color: #009b40;
		  position: absolute;
		  bottom: 100%;
		  display: block;
		  font-weight: 700;
		  text-transform: uppercase;
		  font-size: 16px;
		  background: rgba(255, 255, 255, 0.8);
		}

		figure.snip p {
		  background: rgba(255, 255, 255, 0.8);
		  text-align: left;
		  bottom: 0;
		  font-size: 13px;
		  font-weight: 100;
		  color: #333;
          line-height: 20px;
		}

		figure.snip a {
		  left: 0;
		  right: 0;
		  top: 0;
		  bottom: 0;
		  position: absolute;
		  z-index: 1;
		}



		figure.snip:hover figcaption,
		figure.snip.hover figcaption {
		  -webkit-transform: translateY(0);
		  transform: translateY(0);
		}


/* リハビリテーション */
section#rehabilitation {
    margin-top: 10px;
}

section#rehabilitation article {
    width: 1000px;
    margin: 0 auto;
    padding-top: 0px;
    height: 500px;
	text-align: center;
}

section#rehabilitation article h3 {
    font-size: 20pt;
	font-weight: bold;
    text-align: center;
    display: block;
    line-height: 1.8em;
	color: #000000;
}

section#rehabilitation article h3:before {
	position: relative;
    top: 10px;
  	margin: 0 10px 0 0;
  	content: url('../image/top/logo.png');
}
	
.flex {
	display:flex;
	justify-content: space-between;
}


section#rehabilitation article .pinkbox {
	display: block;
    text-align: center;
    font-weight:bolder;
    font-size: 13pt;
    width: 220px;
    height: 200px;
    border-radius: 10px;
	margin-top: 40px;
	background-color: #e4187f;
}


section#rehabilitation article .greenbox {
	display: block;
    text-align: center;
    font-weight:bolder;
    font-size: 13pt;
    width: 220px;
    height: 200px;
    border-radius: 10px;
	margin-top: 40px;
	background-color: #2aa738;
}

section#rehabilitation article .pinkbox a,
section#rehabilitation article .greenbox a {
    display: block;
    width: 100%;
    height: 100%;
}


section#rehabilitation article .pinkbox:hover,
section#rehabilitation article .greenbox:hover {
     opacity: 0.7;
}



section#rehabilitation article h4 {
		  color: #ffffff;
		  font-weight: 800;
		  font-size: 18px;
	line-height: 200px;
}





/* ニュースごあいさつ */
section#news-dr {
    padding-top: 100px;
    padding-bottom: 100px;
}

section#news-dr article {
    width: 1000px;
    margin: 0 auto;
    overflow: hidden;
}

section#news-dr em {
    display: block;
    text-align: center;
    font-weight: bold;
    font-size: 20pt;
    letter-spacing: 0.05em;
    font-family: "Noto Sans Japanese";
}

section#news-dr em:after {
    border-bottom: 2px solid #333;
    content: "";
    display: block;
    margin: 0 auto;
    margin-top: 50px;
    width: 100px;
}

p.info {
    text-align: center;
    line-height: 2.0em;
}

section#news-dr p.info {
    margin: 50px 0;
}

/* 
section#news-dr div#doctor,
section#news-dr div#news {
    background-color: #f0ede6;
    width: 490px;
    height: 550px;
    float: left;
    padding-top: 30px;
}
*/
section#news-dr div#doctor,
section#news-dr div#news {
    background-color: #f0ede6;
    width: 100%;
    float: left;
    padding-top: 30px;
	padding-bottom: 40px;
}


.kome {
    color: #009b40;
}

.daimu {
    color: mediumvioletred;
}

div#doctor {
    padding: 0 20px;
    margin-right: 20px;
}

div#doctor table {
    width: 100%;
    margin-top: 30px;
}

div#doctor table tr:first-child {
    border-bottom: 1px solid #ccc;
}

div#doctor table tr:last-child {
    border-bottom: 1px solid #ccc;
}

div#doctor table th {
    font-weight: normal;
    padding-bottom: 10px;
    font-size: 10pt;
}

div#doctor table td {
    text-align: center;
    line-height: 1.1em;
    vertical-align: middle;
    font-size: 9pt;
    width: 6%;
}

div#doctor table td.rowspanstyle {
    vertical-align: middle;
    line-height: 0.8;
}

div#doctor table td.rowspanstyle>span {
    font-size: 9pt;
    display: inline-block;
    line-height: 1;
}

div#doctor table tr:nth-child(odd) td {
    padding: 0px 0 10px 0;
}

div#doctor table tr:nth-child(even) td {
    padding: 5px 0 0 0;
}

div#doctor table .circle {
    font-size: 20pt;
}

div#doctor table .sat {
    color: #1780e7;
}

div#doctor table .sun {
    color: mediumvioletred;
    width: 35px;
}

div#doctor table .time {
    font-weight: bold;
    width: 40px;
}

div#doctor p {
    /*text-indent: -0.5em;*/
    font-size: 10pt;
    margin-top: 5px;
    margin-left: 8px;
    line-height: 1.7em;
}
div#doctor table td.bottom_l {
 border-bottom: 1px solid #ccc;
}
div#doctor table td.top_tuke {
	vertical-align: top;
}

div#doctor td.right_l {
 border-right: 1px solid #ccc;
}


/* アクセスマップ */
section#access {
    background-color: #fff;
    padding-top: 100px;
}

section#access h3 {
    margin-bottom: 40px;
}

section#access article#map {
    position: relative;
    padding-bottom: 480px;
    height: 0;
    overflow: hidden;
    z-index: 1;
}

section#access iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

section#access article#add {
    margin: 0 auto;
    width: 1000px;
    position: relative;
}

section#access article#add div {
    background-color: #fff;
    z-index: 2;
    height: 350px;
    max-height: 410px;
    width: 280px;
    max-width: 280px;
    padding: 25px 25px 0 25px;
    position: absolute;
    bottom: 70px;
    right: 0;
}

section#access article#add dl {
    line-height: 1.8em;
}

section#access article#add dt {
    font-weight: bold;
}

section#access article#add dd {
    margin-bottom: 20px;
    font-size: 10.5pt;
}

section#access article#add p {
    line-height: 1.0em;
}

section#access article#add p a {
    display: block;
    text-decoration: none;
    text-align: center;
    color: #009b40;
    font-weight: bold;
    border: 2px solid #009b40;
    padding: 12px 0;
    margin-top: 15px;
    border-radius: 20px;
}

section#access article#add p a:hover {
    background-color: #009b40;
    color: #fff;
}

/* ご案内・お知らせ */
section#medical {
    background-color: #f0ede6;
    padding-top: 100px;
    padding-bottom: 100px;
}

section#medical article {
    width: 1000px;
    margin: 0 auto;
    overflow: hidden;
}

section#medical article ul li {
    list-style-type: none;
    float: left;
    margin-right: 20px;
    width: 320px;
    height: 300px;
    overflow: hidden;
    background-color: #fff;
}

section#medical article ul li:last-child {
    margin-right: 0;
}

section#medical article ul li a {
    padding-top: 210px;
    display: block;
    width: 320px;
    height: 300px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

section#medical article ul li:after {
    background-image: url(../image/top/medical01.jpg);
    background-position: left top;
    background-repeat: no-repeat;
    position: absolute;
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -ms-background-size: cover;
    background-size: contain;
    -webkit-transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
    -ms-transition: all .3s ease-out;
    transition: all .3s ease-out;
}

section#medical article ul li:hover:after {
    opacity: .8;
    -moz-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}

section#medical article ul li:nth-child(2):after {
    background-image: url(../image/top/medical02.jpg);
}

section#medical article ul li:nth-child(3):after {
    background-image: url(../image/top/medical03.jpg);
}

section#medical article ul li a p {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 200px;
    padding-top: 35px;
    background-color: #fff;
    display: block;
    text-align: center;
    font-weight: bold;
}

section#medical article ul li a:hover p {
    color: #009b40;
}

section#medical article ul li a p span {
    font-size: 10pt;
    color: #fff;
    background-color: #009b40;
    border-radius: 20px;
    padding: 5px 10px;
    margin-left: 15px;
    font-weight: normal;
}

section#medical p.info {
    clear: both;
    padding-top: 50px;
}


/* お知らせCMS */

span.catName {
    background-color: #009B40;
    color: #fff;
    text-align: center;
    width: 80px;
    padding: 5px 0;
    margin-bottom: 10px;
    border-radius: 15px;
    display: inline-block;
    font-size: 10pt;
}

span.newMark {
    margin-left: 5px;
    color: #bab3a5;
}

span.up_ymd {
    margin-left: 10px;
}

ul#newsList {
    margin: 0 auto;
    margin-top: 30px;
    width: 90%
}

ul#newsList li {
    border-bottom: 1px solid #d1c9b8;
    padding: 20px 15px;
    list-style-type: none;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    transition: 0.3s;
}

ul#newsList li:last-child {
    border-bottom: 0;
}

ul#newsList li:hover {
    cursor: pointer;
    background-color: #fff;
    filter: alpha(opacity=70);
    -moz-opacity: 0.7;
    opacity: 0.7;
}

p#toNewslist {
    clear: both;
    padding-top: 5px;
	margin-bottom: 60px;
}

p#toNewslist a {
    display: block;
    text-align: right;
}

p#toNewslist a:hover {
    color: #009B40;
}


/* 印刷用 */

@media print {
    * {
        transition-property: none !important;
        animation-name: none !important;
        opacity: 1 !important;
    }
    nav {
        display: none !important;
    }
    .bgsw {
        background-image: url(../image/top/slide05.jpg) !important;
    }
}


/*タブレット用 */

@media screen and (max-width:768px) {
    nav ul li a span:after {
        border-bottom: 0px;
        width: 100%;
        transition-property: none;
    }
    nav ul li a:hover span:after {
        border-bottom: 0px;
        width: 100%;
    }
    header {
        width: 1100px;
        overflow: hidden;
    }
    header div#time {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
    }
}