/*
Theme Name: suzukikenichiclinic
Author: 三木
Version: 1.0
*/


@charset "utf-8";


/*
Theme Name: miyagisendai-office
*/

@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP&display=swap');

/* commmon
---------------------------------------------------------------------------*/
html,body{
	margin-top: 0;
	font-family: 'Noto Serif JP', serif;
	line-height: 2em;
	background-color: white;
	color: #222222;
}
body{
	/*background-image: url(./images/cubes.png);*/
}
#top {
	margin: 0px;
	padding: 0px;
}
h1,h2,h3,h4,h5,p,ul,ol,li,dl,dt,dd,form,figure,figcaption{
	margin: 0px;
	padding: 0px;
	font-size: 100%;
}
ul{
	list-style-type: none;
	margin:0;
	padding:0;
}
img {
	border: none;
	vertical-align: bottom;
}
a{
	text-decoration: none;
}
.left{
	text-align: left;
}
.right{
	text-align: right;
}
.clear{
	clear:both;
}
.center{
	text-align: center;
}
.bold{
	font-weight:bold;
}
i{
	margin-right: 0.4em;
}
.clearfix::after {
	content: "";
	display: block;
	clear: both;
}
.only-sp{
	display: none;
}
.only-pc{
	display: block;
}
.small{
	font-size:90%;
}
.red{
	color: red;
}



/*container
---------------------------------------------------------------------------*/
#container {
	position: relative;
	top: 180px;
}



/* header
---------------------------------------------------------------------------*/
#header {
	width: 1200px;
	position: relative;
	margin:0 auto;
  -moz-transition: height 0.3s;
  -o-transition: height 0.3s;
  -webkit-transition: height 0.3s;
  transition: height 0.3s;
  padding-top: 20px;
}
header {
	height: 180px;
	width:100%;
	position: fixed; 
	top: 0px;
	left: 0px;
	z-index: 100;
	background-color: white;
	background: rgba(255,255,255,0.9);
	transition: .3s;
}
#header #logo {
	float:left;
}
#header #logo h1 {
	position: relative;
	left: 0;
	top: 10px;
}
#header #logo h1 img{
	width: 360px;
}
#header #contact {
	float: right;
	width: 400px;
	text-align: right;
	position: relative;
	top: 26px;
	line-height: 1rem;
	font-size: 0.7em;
	text-align: center;
	line-height: 1rem;
}
#header #contact #phone{
	float: right;
	background: #48b70b;
    padding: 10px 40px;
}
#header #contact #phone .number{
	font-size: 1.2rem;
	color: white;
	letter-spacing: 5px;
}
#header #contact #phone .notice{
	font-size: 0.8em;
}

/* navi
---------------------------------------------------------------------------*/
#header #navi {
	clear: both;
	position: relative;
	top: 30px;
	font-size: 0;
}
#header #navi p{
	margin-bottom: 4px;
}
#header #navi p a{
}
#header #navi p i{
	margin-right: 10px;
}
#header #navi ul#index{
	text-align: left;
	width: 100%;
}
#header #navi ul#index li{
	font-size: 0.9rem;
	display:inline-block; 
	border-right: 1px dashed #b0b0b0;
	width: calc(100% / 6);
	text-align: center;
	box-sizing: border-box;
	line-height: 1.6rem;
}
#header #navi ul#index li:first-child {
	border-left: 1px dashed #b0b0b0;
}
#header #navi li a{
	display:block;
	color: #222222;
	text-decoration: none;
}
#header #navi li.stay a{
  color: #48b70b;
}
#header #navi .underline a {
	position: relative;
	display: inline-block;
	text-decoration: none;
}
#header #navi .underline a::after {
	position: absolute;
	bottom: -4px;
	left: 0;
	content: '';
	width: 100%;
	height: 2px;
	background: #48b70b;
	transform: scale(0, 1);
	transform-origin: left top;
	transition: transform .3s;
}
#header #navi .underline a:hover::after {
	transform: scale(1, 1);
}
#header #navi li a span{
	display: block;
	color: #48b70b;
	font-size: 11px;
}


/*  sp-menu
---------------------------------------------------------------------------*/
header .menu-sp-btn {
	display: none;
	position: absolute;
	z-index: 9999;
	top: 25px;
	right: 20px;
	width: 25px;
	height: 20px;
}
header .menu-sp-btn span {
	display: block;
	height: 3px;
	border-radius: 3px;
	width: 100%;
	margin-bottom: 6px;
	transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.1s, opacity 0.1s ease-in-out 0.1s, -webkit-transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.1s;
	-webkit-transform: translateZ(0);
					transform: translateZ(0);
}
header .menu-sp-btn span:last-child {
	margin-bottom: 0;
}
header .menu-sp-btn.is-clicked span:first-child {
	-webkit-transform: translateY(9px) rotateZ(-135deg);
			-ms-transform: translateY(9px) rotate(-135deg);
					transform: translateY(9px) rotateZ(-135deg);
}
header .menu-sp-btn.is-clicked span:nth-child(2) {
	opacity: 0;
}
header .menu-sp-btn.is-clicked span:last-child {
	-webkit-transform: translateY(-9px) rotateZ(135deg);
			-ms-transform: translateY(-9px) rotate(135deg);
					transform: translateY(-9px) rotateZ(135deg);
}


@media only screen and (max-width:767px){

	#header #navi ul#index li{
		text-align: left;
	}
	#header #navi ul#index li ul{
		position: relative;
		width: 100%;
		padding-top: 0;
		display: block !important;
	}
}


/* toppage
---------------------------------------------------------------------------*/
#slider{
	position: relative;
	top: 180px;
	width: 100%;
	margin: 0 auto;
	z-index: 1;
}

#icatch{
	position: absolute;
	top: 180px;
	width: 100%;
}
#icatch p{
	width: 900px;
	margin: 0 auto;
	text-shadow: 1px 1px 1px black;
	color: white;
	font-size: 2rem;
	line-height: 3rem;
}
#icatch p span{
	font-size: 1.4rem;
}

.c-btn.slide {
  background: #fff;
  color: honeydew;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.c-btn.slide::after {
  position: absolute;
  top: 0;
  left: 0;
  content: '';
  width: 100%;
  height: 100%;
  transform: scale(0, 1);
  transform-origin: left top;
  transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
  z-index: -1;
}
.c-btn.slide:hover {
  color: #fff;
}
.c-btn.slide:hover::after {
  transform: scale(1, 1);
}


/*main
---------------------------------------------------------------------------*/
#main {
	width: 100%;
}
.subpage .pagename h2 {
	padding: 5rem 0;
	color: white;
	background-size: cover;
	letter-spacing: 0.4rem;
	text-align: center;
	font-size: 1.5rem;
	font-weight: normal;
}
.subpage #main .pagename h2{
	color: black;
    text-shadow: 1px 1px 0 #FFF, -1px -1px 0 #FFF, -1px 1px 0 #FFF, 1px -1px 0 #FFF, 0px 1px 0 #FFF, 0-1px 0 #FFF, -1px 0 0 #FFF, 1px 0 0 #FFF;
}
.subpage #main.info .pagename h2 {
	background-image: url(images/pagetitle-info.jpg);
	background-repeat: no-repeat;
	background-position-y: -50px;
	background-size: cover;
}
.subpage #main.calendar .pagename h2 {
	background-image: url(images/pagetitle-calendar.jpg);
	background-repeat: no-repeat;
	background-position-y: center;
	background-size: cover;
}
.subpage #main.access .pagename h2 {
	background-image: url(images/pagetitle-access.jpg);
	background-repeat: no-repeat;
	background-position-y: bottom;
	background-size: cover;
}
.subpage #main.news .pagename h2 {
	background-image: url(images/pagetitle-news.jpg);
	background-repeat: no-repeat;
	background-position-y: top;
	background-size: cover;
}
.subpage #main.blog .pagename h2 {
	background-image: url(images/pagetitle-blog.jpg);
	background-repeat: no-repeat;
	background-position-y: top;
	background-size: cover;
}



/* section
---------------------------------------------------------------------------*/
section{
	width:100%;
	clear: both;
}
section .section-inner{
	clear: both;
	width: 1200px;
	margin: 0 auto;
}

.subpage section{
	margin-bottom: 80px;
}
.subpage section:last-child{
	margin-bottom: 180px;
}

/* TOP調整
---------------------------------------------------------------------------*/
/* mainvisual */
section#mainvisual img{
	width: 100%;
}

/* about */
section#about {
	margin-top: 140px;
	background: linear-gradient(180deg, white 0%, white 20%, #f3f3f3 20%, #f3f3f3 100%);
}
section#about .aboutbox{
	display: flex;
}
section#about p{
	text-align: left;
}
section#about p.sign{
	text-align: right;
}
section#about h2{
	color: #48b70b;
	font-size: 1.8rem;
	font-weight: normal;
	margin-bottom: 20px;
}
section#about p.leadtext{
	color: #48b70b;
	margin-bottom: 80px;
}
section#about p.summary{
}
section#about .aboutbox img{
	width: 530px;
}
section#about .aboutbox div:last-child{
	padding: 0 0 0 150px;
}
section#about .links{
	float: left;
	width: 100%;
	position: relative;
    top: 80px;
}
section#about .links li{
	height: 240px;
	width: 22%;
	margin-right: 4%;
	background-color: white;
	float: left;
	text-align: center;
}
section#about .links li img{
	width: 60px;
}
section#about .links li:nth-child(4n){
	margin-right: 0;
}
section#about .links li:hover{
	background: beige;
	transition : 0.5s;
}
section#about .links li a{
	color: #48b70b;
	display: block;
	width: 100%;
	height: 100%;
	padding-top: 60px;
	box-sizing: border-box;
	box-shadow: 0 0 6px gray;
	border: 3px solid;
}
section#about .links li a span{
	display:block;
	font-size: 1.2rem;
	margin-bottom: 15px;
}
section#about .links li a span i{
	font-size: 0.8rem;
}
section#news{
	background: url(images/news_bg.png);
	background-size: cover;
	height: 500px;
}
section#news #newsbox{
	display: flex;
	align-items: center;
	padding-top: 140px;
}
section#news #newsbox div:first-child{
	flex-basis: 20%;
	text-align: left;
}
section#news #newsbox p.title{
	color: white;
	font-size: 1.5rem;
	margin-bottom: 20px;
}
section#news #newsbox p.link a{
	background-color: white;
	color: #48b70b;
	padding: 5px 20px;
}
section#news #newsbox p.link a i{
	font-size: 0.7rem;
}
section#news #newsbox ul li{
	margin: 0.5rem 0;
}
section#news #newsbox ul li a{
	color: white;
	border-bottom: 1px dashed;
	padding-bottom: 2px;
}
section#news #newsbox ul li a span.date{
	width: 100px;
	display: inline-block;
}
section#news #newsbox ul li a span.new{
	width: auto;
	display: inline;
	font-size: 0.8rem;
	margin-right: 1rem;
	border: 1px solid white;
	padding: 0 0.5rem;
	color: white;
}
section#slide {
	position: relative;
	top: -80px;
}


/* 下層ページメイン画像
---------------------------------------------------------------------------*/
div.pagename h2 img{
	width: 30px;
	vertical-align: text-bottom;
	margin-right: 1rem;
}


/* 下層ページ
---------------------------------------------------------------------------*/
#main div.pagename{
	background-color: #F1F1F1;
}

.subpage h3{
	font-size: 1.5rem;
	margin: 50px 0;
	color: #48b70b;
	border-bottom: 1px solid #48b70b;
	padding: 20px 0;
	text-align: center;
	font-weight: normal;
}
.subpage #footer{
	margin-top: 100px;
}



/* common
---------------------------------------------------------------------------*/
.disc li{
	margin-left: 2%;
	list-style-type: disc;
}
.tel{
	text-align: center;
	margin-top: 2rem;
}
.tel p:nth-child(2){
	font-size: 170%;
	font-weight: bold;
}
.link{
	font-size: 0.8rem;
	text-decoration: none;
	color: blue;
}
.link:hover{
	text-decoration: none;
}
.pageindex{
	margin: 2rem 0;
	width: 100%;
	float: left;
}
.pageindex li{
	width: 30%;
	text-align: center;
	float: left;
	margin: 1% 4% 3% 0;
	border: 1px solid black;
	background: white;
}
.pageindex li:nth-child(3), .pageindex li:nth-child(5){
	margin-right: 0;
}
.pageindex li:nth-child(4){
	margin-left: 17%;
}
.pageindex li a{
	padding: 1rem 0;
	display: block;
	margin: 1px;
}
.pageindex img{
	width: 90%;
	margin-bottom: 10px;
}
.service-title{
	padding-bottom: 2rem;
}
.service-title img{
	float:left;
	width:340px;
	margin-right:4rem;
}
dd.greeting{
	padding: 0 5rem;
}
.subpage section#intro{
	min-height: 356px;
	box-sizing: border-box;
	display: flex;
    align-items: center;
}



/* info
---------------------------------------------------------------------------*/
.subpage .info .flexbox{
	display: flex;
}
.subpage .info .flexbox .photo img{
	width: 600px;
}
.subpage .info .flexbox .summary{
	width: 100%;
}

.subpage .info #outline .photo{
	margin-right: 50px;
}
.subpage .info #greeting .photo{
	margin-left: 50px;
}
.subpage .info #partner .summary{
	text-align: center;
}
.subpage .info #effort{
}
.subpage .info #effort .effort-box{
	display: flex;
	gap: 70px;
}
@media only screen and (max-width:767px){
	.subpage .info #effort .effort-box{
		flex-direction: column;
	}
}
.subpage .info #effort .effort-box .effort-box1,
.subpage .info #effort .effort-box .effort-box2{
	flex: 1;
	padding: 30px;
	border: 1px solid;
}
.subpage .info #effort .effort-box ul{
	margin-top: 1rem;
}
.subpage .info #effort .effort-box ul li{
	list-style-type: disc;
	margin-left: 1rem;
	margin-bottom: 0.5rem;
}
.subpage .info #effort .effort-box .effort-title{
	background: #48b70b;
	margin-bottom: 2rem;
	text-align: center;
	padding: 6px;
	color: white;
}
.subpage .info #effort .effot-box1-inbox .title{
	margin-bottom: 0.5rem;
	font-weight: bold;
}
.subpage .info #effort .effot-box1-inbox .text{
	margin-left: 1rem;
	margin-bottom: 1.5rem;
}
.subpage .info #partner .policy{
	margin-top: 50px;
	display: flex;
}
.subpage .info #partner .policy div{
	flex: 1;
	padding: 30px;
	border: 1px solid;
    box-sizing: border-box;
    margin-right: 30px;
}
.subpage .info #partner .policy div:last-child{
    margin-right: 0;
}
.subpage .info #partner .policy div span{
	display: block;
	text-align: center;
	background: #48b70b;
	color: white;
	margin-bottom: 30px;
}
.subpage .info #outline .summary table{
	border-collapse:collapse;
	border-spacing:0px;
	width: 100%;
}
.subpage .info .summary table th{
	font-size: 0.9rem;
}
.subpage .info .summary table th, .summary table td{
	border-bottom: 1px solid #ccc;
	padding: 13px 0;
}
.subpage .info .summary table th{
	width: 25%;
	text-align: center;
}
.subpage .info #outline .photo{
	margin-right: 50px;
}
.subpage .info #greeting .photo{
	margin-left: 50px;
}
.subpage .info #department .summary{
	text-align: center;
}
.subpage .info #department .type{
	margin-top: 50px;
	display: flex;
}
.subpage .info #department .type div{
	flex: 1;
	padding: 30px;
	border: 1px solid;
    box-sizing: border-box;
    margin-right: 30px;
}
.subpage .info #department .type div:last-child{
    margin-right: 0;
}
.subpage .info #department .type div span{
	display: block;
	text-align: center;
	background: #48b70b;
	color: white;
	margin-bottom: 30px;
	font-size: 1.2rem;
	padding: 10px;
}
.subpage .info .disease{
	margin-top: 50px;
	background: #f3f3f3;
    padding: 40px;
}
.subpage .info .disease p{
	text-align: center;
}
.subpage .info .disease ul{
	margin-top: 10px;
	display: flex;
	justify-content: space-between;
}
.subpage .info .disease ul li{
	list-style-type: disc;
}
.subpage .info #consultation p{
	text-align: center;
}
.subpage .calendar{
	width: 800px;
	margin: 0 auto;
	margin-bottom: 80px;
}
.subpage .calendar table{
	width: 100%;
	margin: 20px 0;
	background: #48b70b;
}
.subpage .calendar table th{
	color: white;
	padding: 20px;
	background: #48b70b;
	border-right: 1px solid white;
}
.subpage .calendar table td{
	color: #48b70b;
	padding: 20px;
	background: white;
	text-align: center;
}
.subpage #consultation .title{
	color: #48b70b;
	font-size: 1.5rem;
	margin-bottom: 20px;
}
.subpage #consultation p.notice{
	margin-bottom: 20px;
}
.subpage #calendar{
	margin-top: 100px;
}
.subpage #google-calenar{
	text-align: center;
}



/* news
---------------------------------------------------------------------------*/
.subpage .news #news-index .news-list li a{
	color: black;
	border-bottom: 1px dashed black;
	width: 100%;
	display: block;
	padding: 10px 0;
}
.subpage .news #news-index a span.fix{
	width: 120px;
	display: inline-block;
	border: 1px solid red;
	color: red;
	text-align: center;
	margin-right: 1rem;
	font-size: 90%;
}
.subpage .news #news-index a span.date{
	margin-right: 1rem;
	width: 120px;
	display: inline-block;
	text-align: center;
	color: #48b70b;
}
.subpage .news #news-index a span.new{
	color: white;
	background-color: red;
	margin-right: 0.5rem;
	font-size: 80%;
	padding: 0 0.3rem;
}
.subpage .news #news-index a span.title{
}
.subpage .news .article h3{
	text-align: left;
}
.subpage .news .article h3 span{
	font-size: 0.88rem;
	display: block;
}
.subpage .news .article{
	margin-bottom: 50px;
}
.subpage .news-list-archive{
	display: flex;
	gap: 100px;
}
.subpage .news-list-archive .news-list{
	width: 80%;
}
.subpage .news-list-archive .news-archive{
	width: 20%;
}
.subpage .news-list-archive .news-archive p{
	background: #48b70b;
	color: white;
	margin-bottom: 1rem;
	text-align: center;
}
.subpage .news-list-archive .news-archive ul{
	margin: 0 20px;
}

/* 点滅 */
.blinking{
	-webkit-animation:blink 1.5s ease-in-out infinite alternate;
	-moz-animation:blink 1.5s ease-in-out infinite alternate;
	animation:blink 1.5s ease-in-out infinite alternate;
}
@-webkit-keyframes blink{
    0% {opacity:0;}
    100% {opacity:1;}
}
@-moz-keyframes blink{
    0% {opacity:0;}
    100% {opacity:1;}
}
@keyframes blink{
    0% {opacity:0;}
    100% {opacity:1;}
}

/* blog
---------------------------------------------------------------------------*/
.subpage .blog .article h3{
	text-align: left;
}
.subpage .blog .article h3 span{
	font-size: 0.88rem;
	display: block;
}
.subpage .blog .article{
	margin-bottom: 50px;
}
.subpage #blog-index ul {
	width: 100%;
	float: left;
	margin-top: 3rem;
}
.subpage #blog-index ul  li{
	width: 32%;
	float: left;
	display: inline-block;
	text-align:left;
	margin-right:2%;
	margin-bottom: 3%;
}
.subpage #blog-index ul  li:nth-child(3n){
	margin-right:0;
}
.subpage #blog-index ul  li div{
	margin: 0.1rem 0;
}
.subpage #blog-index ul  li a{
	display: inline-block;
	text-decoration: none;
	color: black;
}
.subpage #blog-index ul  li a img{
}
.subpage #blog-index ul  li a .thumbnail{
	margin-bottom: 0.5rem;
	overflow: hidden;
}
.subpage #blog-index ul  li a .thumbnail img{
	-moz-transition: -moz-transform 0.5s linear;
	-webkit-transition: -webkit-transform 0.5s linear;
	-o-transition: -o-transform 0.5s linear;
	-ms-transition: -ms-transform 0.5s linear;
	transition: transform 0.5s linear;
	height: auto;
	max-width: 100%;
}
.subpage #blog-index ul  li a:hover .thumbnail img {
	-webkit-transform: scale(1.2);
	-moz-transform: scale(1.2);
	-o-transform: scale(1.2);
	-ms-transform: scale(1.2);
	transform: scale(1.2);
}
.subpage #blog-index ul  li a .date{
	font-size: 0.7rem;
}
.subpage #blog-index ul  li a .title{
	font-weight: bold;
	margin-bottom: 1rem;
	line-height: 1.2rem;
	font-size: 1.1rem;
}
.subpage #blog-index ul  li a .summary{
	font-size: 0.9rem;
	line-height: 1.6rem;
}




/* access
---------------------------------------------------------------------------*/
.subpage .access  #map p{
	text-align: center;
	margin-bottom: 10px;
}
.subpage .access .googlemap{
	margin-top: 30px;
}
.subpage .access #parking .flexbox{
	display: flex;
	width: 100%;
}
.subpage .access #parking .flexbox div{
	flex:1;
	padding: 10px;
	text-align: center;
}
.subpage .access #parking .flexbox div img{
	width: 100%;
}


/* footer
---------------------------------------------------------------------------*/
#footer {
	width:100%;
	clear: both;
	color: #48b70b;
	top: 180px;
	position: relative;
}
#footer-inner {
	width: 1200px;
	margin:0 auto;
	display: flex;
	line-height: 1.5rem;
}
#footer-inner .footerbox{
	flex-basis: 50%;
	font-size: 0.9rem;
}
#footer-inner .footerbox + div:first-child{
	margin-right: 10%;
}
#footer-inner .footerbox + div:last-child{
	margin-left: 10%;
}
#footer .copy {
	clear:both;
	width:100%;
	text-align: center;
	display:block;
	font-size: 0.8rem;
	padding:0.5rem 0;
	background-color: white;
	margin-top: 50px;
}
#footer-inner table{
	width: 100%;
	margin-bottom: 10px;
}
#footer-inner table th{
	background-color: white;
	text-align: center;
	font-weight: normal;
	border-bottom: 1px solid #48b70b;
}
#footer-inner table td{
	background-color: white;
	text-align: center;
	border-bottom: 1px solid #48b70b;
}
#footer-inner .close{
	background-color: #48b70b;
	color: white;
	display: inline-block;
	padding: 0 20px;
}
#footer-inner .info{
	border: 1px solid #48b70b;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 10px;
	margin-top: 10px;
}
#footer-inner a{
	color: #48b70b;
}
#footer-inner .phone{
	margin-right: 30px;
}
#footer-inner .phone p{
	font-size: 1.4rem;
}
#footer-inner .address{
	margin-top: 10px;
}

/* topback
---------------------------------------------------------------------------*/
#page-top {
	position: fixed;
	bottom: 0px;
	right: 50px;
	margin:0;
	z-index:100;
	display:none;
}
#page-top a {
	color: #48b70b;
	text-align: center;
	display: block;
	margin:0;
	font-size: 250%;
}
#page-top a:hover {
	-webkit-transition: 0.3s ease-in-out;
	-moz-transition: 0.3s ease-in-out;
	-o-transition: 0.3s ease-in-out;
	transition: 0.3s ease-in-out;
}


/* page-nav
---------------------------------------------------------------------------*/
.page-nav{
	text-align: center;
}
.page-nav a {
	margin: 0 1rem;
}




/* navi
---------------------------------------------------------------------------*/
@media print, screen  and (min-width: 768px){
	#navi ul#index{
		display:block !important;
	}
	a#menu{display:none;}
}


@media (max-width: 1199px) and (min-width: 768px) {
	#header,
	section .section-inner,
	#footer-inner {
		width: 100%;
		padding: 0 40px;
		box-sizing: border-box;
	}
	#header #logo h1 img{
		width: 260px;
	}
	section#about .aboutbox img {
		width: 300px;
	}
	section#about .aboutbox div:last-child{
		padding: 0 0 0 50px;
	}
	.subpage .info .flexbox .photo img{
		width: 300px;
	}
	.subpage .info #effort .effort-box{
		flex-direction: column;
	}
	.subpage .info .disease ul{
		flex-direction: column;
	}
	div#google-calenar iframe{
		width: 100%;
	}
	.subpage .news-list-archive{
		gap: 30px;
	}
	section#about .links li{
		height: 180px;
	}
	section#about .links li a{
	    padding-top: 30px;
	}
	section#about .links li a span{
		font-size: 1rem;
	}
	section#about p.leadtext{
		margin-bottom: 30px;
	}
	div#header{
		padding-top: 30px;
	}
	#header #navi ul#index li{
    	font-size: 0.7rem;
	}
	#header #contact #phone .number {
    	font-size: 1rem;
	}
	#header #contact{
		top: 10px;
	}
}


/*===============================================
 スマホ：画面の横幅が767pxまで
===============================================*/
@media only screen and (max-width:767px){
	/*common 
	---------------------------------------------------------------------------*/
	html,body{ 
		width:100%; 
		min-width: 300px;
	}
	body{ 
		width:100%; 
		overflow-x:hidden;
	}
	h2 {
		font-size: 1.2em;
	}
	h3{
		font-size: 1.0rem;
	}
	.only-sp{
		display: block;
	}
	.only-pc{
		display: none;
	}
	#main{
		width:100%;
		float:none;
		clear:both;
		padding-bottom: 0;
	}
	#container{
		width:100%;
		float:none;
		clear:both;
		top: 70px;
	}
	#contents{
		float:none;
		clear:both;
		margin:0px;
	}
	
	/* header
	---------------------------------------------------------------------------*/
	header{
		height: 70px;
	}
	#header{
		width:100%;
		padding-bottom:0px;
		z-index:0;
		clear:both;
		margin:0;
		padding-top: 0;
	}
	#header #logo h1{
		top: 15px;
	}
	#header #navi{
		width: 100%;
		top: 25px;
	}
	#header #navi ul#index{
		position: relative;
		border-top: 1px solid #ccc;
	}
	#header #navi ul#index li{
		display:block;
		margin-left: 0;
		font-weight: normal;
		padding: 0;
		width: 100%;
	}
	#header #navi ul#index li:first-child{
		border: none;
	}
	#header #logo{
		margin-left: 15px;
	}
	#header #logo h1 img{
		width: 240px;
	}
	#header #contact{
		display: none;
	}

	/* navigation
	---------------------------------------------------------------------------*/
	#menu{
		display: block;
	}
	#navi{
		z-index:100;
		clear:both;
		padding:0;
		position:relative;
		width:100%;
	}
	#navi a{
		font-size: 100%;
	}
	#navi a.menu{
		display:block;
		font-weight: bold;
		text-align:left;
		top:-62px;
		right:15px;
		position:absolute;
		width:50px;
		right: 20px;
	}
	#navi a#menu span{padding-left:10px;}
	#navi a#menu:hover{cursor:pointer;}
	#navi ul#index{
		display: none;
		width:100%;
		position:absolute;
		right: 0;
		top:0px;
		z-index:100;
	}
	#navi ul#index li{
		float: none;
		clear:both;
		width:100%;
		height:auto;
		background-color: white;
		background: rgba(255,255,255,0.9);
	}
	#navi ul#index li a,#navi ul#index li.current-menu-item li a{
		display: block;
		padding:10px 5px 10px  10px ;
		text-align:left;
		border-bottom:1px dashed #ccc;
	}
	#navi ul#index li a img{display:none;}
	#navi div.panel{float:none;}

	/* sp-menu
	---------------------------------------------------------------------------*/
	header .menu-sp-btn {
		display: block;
	}
	header .menu-sp-btn span {
		background-color: #48b70b;
	}

	/* sp-nav
	---------------------------------------------------------------------------*/
	nav.sp-menu{
		position: absolute;
		width: 100%;
		top: 70px;
		left: 100%;
		z-index: 1;
		padding: 0;
		background-color: #00326F;
		-webkit-box-shadow: 0 5px 5px rgb(0 0 0 / 15%);
		box-shadow: 0 5px 5px rgb(0 0 0 / 15%);
		-webkit-backface-visibility: hidden;
		-webkit-transition: all .3s ease;
		-o-transition: all .3s ease;
		transition: all .3s ease;
		background-color: rgba( 0, 0, 0, 0.7 );
	}
	nav.sp-menu.is-displayed {
		left: 0;
		-webkit-backface-visibility: hidden;
		-webkit-transition: all .3s ease;
		-o-transition: all .3s ease;
		transition: all .3s ease;
	}
	nav.sp-menu ul li{
		text-align: center;
		border-bottom: 1px solid white;
	}
	nav.sp-menu ul li a{
		color: white;
		display:block;
		padding: 8px 0;
	}
	nav.sp-menu ul li a span{
		display: block;
		font-size: 70%;
		line-height: 1;
	}
	header li.login a{
		border: 0;
	}

	/*slider
	---------------------------------------------------------------------------*/
	#slider{
		top: 70px;
	}
	.slick-box img{
		width: 320px;
	}
		
	/*icatch
	---------------------------------------------------------------------------*/
	#icatch{
		top: 80px;
		height: 300px;
	}
	#icatch p.main{
		font-size: 2em;
		top: 100px;
	}
	#icatch p.description{
		font-size: 1em;
		top: 120px;
		width: 100%;
	}
	#icatch p.main::after{
		margin-top: 2rem;
	}


	/*section
	---------------------------------------------------------------------------*/
	section{
		width: 100%;
		padding: 0;
	}
	section .section-inner{
		width: 90%;
		padding: 0;
	}
	#sub-main{
		top: 80px;
	}

	/*topback
	---------------------------------------------------------------------------*/
	#page-top {
		position: fixed;
		bottom:0;
		right: 10px;
		margin:0;
		z-index:100;
	}
	#page-top a {
		text-decoration: none;
		text-align: center;
		display: block;
		margin:0;
	}
	#page-top img {
		width: 40px;
	}

	/*footer
	---------------------------------------------------------------------------*/
	#footer{
		width:100%; 
		font-size:80%;
		display:inline-block;
		clear:both;
		margin-top: 0;
		top: 100px;
	}
	#footer-inner{
		width: 100%;
		padding: 0;
		flex-direction: column;
	}
	.footerbox .logo{
		width: 300px;
	}
	#footer-inner .footerbox:first-child{
		text-align: center;
	}
	#footer-inner .info{
		margin: 20px;
		display: block;
	}
	#footer-inner .phone{
		margin: 10px 0;
	}
	#footer-inner .footerbox + div:last-child{
		margin-left: 0;
		margin: 20px;
	}
	#footer-inner .footerbox + div:last-child p{
		margin-bottom: 10px;
	}
	#footer-inner table td{
		padding: 5px;
	}

	/* common
	---------------------------------------------------------------------------*/
	.subpage section{
	    margin-bottom: 0px;
	}
	.subpage section:last-child{
		margin-bottom: 0;
	}
	.subpage h3{
		font-size: 1.2rem;
		padding: 10px 0;
		margin: 20px 0;
	}
	.subpage #footer .copy{
		margin-top: 0;
	}
	.subpage .pagename h2{
		padding: 2rem 0;
	}

	/* top
	---------------------------------------------------------------------------*/
	section#about{
		margin-top: 0px;
	}
	.toppage section#about .aboutbox div:last-child{
		padding: 0;
	}
	section#about .aboutbox{
		flex-direction: column;
	}
	section#about .aboutbox img{
		width: 100%;
		    margin-bottom: 30px;
	}
	section#about p.leadtext{
		margin-bottom: 20px;
		text-align: center;
	}
	section#about h2{
		font-size: 1.4rem;
		text-align: center;
		margin-bottom: 10px;
	}
	section#about .links li{
		width: 48%;
		margin-bottom: 20px;
		height: 160px;
	}
	section#about .links li:nth-child(2n){
		margin-right: 0;
	}
	section#about .links li a{
		padding-top: 20px;
	}
	section#news{
		height: auto;
		padding-bottom: 10px;
	}
	section#news #newsbox{
		flex-direction: column;
		padding-top: 100px;
		position: relative;
		padding-bottom: 40px;
		margin-bottom: 50px;
	}
	section#news #newsbox .link{
		position: absolute;
		bottom: 10px;
		left: 0;
	}
	section#news #newsbox ul li{
		font-size: 0.9rem;
		line-height: 1.6rem;
		margin-bottom: 1rem;
	}
	section#slide{
		top: -20px;
	}
	section#slide .slick li img{
		margin: 0 5px;
		width: 200px;
	}
	section#news #newsbox div:first-child{
		text-align: center;
	}
	section#news #newsbox div:last-child{
		padding-bottom: 20px;
	}
	section#about .links li a span{
		font-size: 1rem;
	}
	section#news #newsbox ul li a span.date {
		width: auto;
		display: block;
	}

	/* info
	---------------------------------------------------------------------------*/
	.subpage .info .flexbox{
		flex-direction: column;
	}
	.subpage .info .flexbox .photo img{
		width: 100%;
		margin-bottom: 30px;
	}
	.subpage .info #partner .policy{
		flex-direction: column;
	}
	.subpage .info #partner .policy div{
		margin-right: 0;
		margin-bottom: 20px;
	}
	.subpage .info #outline .photo{
		margin-right: 0;
	}
	.subpage .info #greeting .photo{
		margin-top: 30px;
		margin-left: 0;
	}
	.subpage .info .summary table th{
		width: 100%;
		text-align: left;
		padding-left: 20px;
		box-sizing: border-box;
		border-bottom: 0;
		padding: 5px 0 5px 10px;
		font-weight: normal;
	}
	.subpage .info .summary table th, .subpage .info .summary table td{
		border-bottom: 0;
	}
	.subpage .info #partner .summary{
		text-align: left;
	}

	.subpage .info table th, .subpage .info table td{
		padding: 0.5rem 0;
		display: block;
		border-bottom: 0;
		width: 100%;
	}
	.subpage .info table th{
		background-color: #eee;
	}

	.subpage .info #department .type{
		flex-direction: column;
	}
	.subpage .info #department .type div{
		margin-right: 0;
		margin-bottom: 30px;
	}
	.subpage .info .disease ul{
		flex-direction: column;
	}
	.subpage .calendar{
		width: 100%;
	}
	.subpage .calendar table th{
		padding: 0;
		font-size: 90%;
	}
	.subpage .calendar table td{
		padding: 8px;
		font-size: 90%;
	}
	.subpage .info #consultation p{
		text-align: left;
	}
	.subpage .info #consultation .title{
		text-align: center;
		font-size: 1.2rem;
	}
	.subpage #google-calenar iframe{
		width: 100%;
		height: 400px;
	}
	.subpage .info #consultation ul.notice{
		font-size: 90%;
	}
	.subpage #main.info .pagename h2{
		background-position-y: 0;
	}
	.subpage .info #department .summary{
		text-align: left;
	}
	.subpage .info #department .type div span{
		font-size: 1rem;
	}
		

	/* access
	---------------------------------------------------------------------------*/
	.subpage .access #parking .flexbox{
		flex-direction: column;
		font-size: 90%;
		margin-top: 20px;
	}
	.subpage .access #map p{
		text-align: left;
	}


	/* news
	---------------------------------------------------------------------------*/
	.subpage .news #news-index a span{
		font-size: 0.8rem;
	}
	.subpage .news #news-index ul{
		margin-bottom: 50px;
	}
	.subpage .news-list-archive{
		flex-direction: column;
		gap: 0;
	}
	.subpage .news-list-archive .news-list,
	.subpage .news-list-archive .news-archive{
		width: 100%;
	}
	.subpage .news #news-index a span.fix{
		line-height: 1.3rem;
		display: block;
		font-size: 0.8rem;
	}
	.subpage .news #news-index a span.title {
		display: block;
		font-size: 0.9rem;
	}
	.subpage .news #news-index a span.date{
		width: auto;
	}

	

	/* blog
	---------------------------------------------------------------------------*/
	.subpage .blog #blog-index a span{
		display: block;
		width: 100%;
		font-size: 0.8rem;
	}
	.subpage .blog #blog-index ul{
		margin-bottom: 50px;
	}
	.subpage .blog #blog-index ul li{
		width: 100%;
		margin-right: 0;
	}


}



/*印刷調整
---------------------------------------------------------------------------*/
@media print {
	header{
		position: absolute;
	}
	#slider{
		background: url(images/icatch01.jpg) no-repeat center center;
		height: 400px;
	}
	.slick-box{
		display:none;
	}
}


