@charset "shift_jis";
/* CSS Document */
/* SPファースト */

/* =====================================================
  ・ ハンバーガーメニュー
======================================================== */
/* ・#globalNavi
-------------------------------------------------------- */
#globalNavi {
  position: absolute;
  width: 100%;
  height: auto;
  top: 0;
  right: 0;
  z-index: 1111;
}
#globalNavi .boxonlysp {
  display: none;
  width: 100%;
  height: 120px;
  margin: 70px 0 0;
	padding-top: 20px;
  background-color: rgba(255,255,255,1);
	font-size: 1.4rem;
}
#globalNavi .boxonlysp p {
	max-width: 300px;
	margin: 0 auto 10px;
}
#globalNavi>ul {
	display: none;
  width: 100%;
  height: 100vh;
	padding-top: 15px;
  margin: 0 auto;
  text-align: center;
	/*background: url("../img/top/bg.jpg") center repeat-x;*/
  background-color: rgba(255,255,255,.9);
  z-index: 1111;
}
#globalNavi li {
	width: 90%;
	max-width: 300px;
  margin: 0 auto 15px;
}
#globalNavi li a {
	width: 100%;
  display: block;
  color: #fff;
  text-decoration: none;
  transition: all 0.4s ease-in-out;
}
/* .gnavi-btn 
-------------------------------------------------------- */
.gnavi-btn {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 60px;
  height: 60px;
  margin: 0;
  background: #0351ad;/* 背景色 */
  overflow: hidden;
}
.icon-animation {
  position: absolute;
  top: 40%;
  left: 50%;
  -webkit-transform: translate(-50%,-50%);
          transform: translate(-50%,-50%);
  display: block;
  width: 33px;
  height: 30px;
  z-index: 1111;
  cursor: pointer;
  text-align: center;
}
.icon-animation span {
  width: 100%;
  height: 2px;
  display: block;
  color: #fff;
  position: absolute;
  background: #fff;
  top: 50%;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  -webkit-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
  transform: rotate(0deg);
}
.icon-animation p {
  position: absolute;
  bottom: -17px;
  font-size: 1rem;
  color: #fff;
}
/* ・ハンバーガーアニメーション
-------------------------------------------------------- */
.icon-animation .top {
  -webkit-transform: translateY(-10px);
  -ms-transform: translateY(-10px);
  transform: translateY(-10px);
}
.icon-animation .bottom {
  -webkit-transform: translateY(10px);
  -ms-transform: translateY(10px);
  transform: translateY(10px);
}
.is-open .middle {
  background: rgba(51, 51, 51, 0);
}
.is-open .top {
  -webkit-transform: rotate(-45deg) translateY(0px);
  -ms-transform: rotate(-45deg) translateY(0px);
  transform: rotate(-45deg) translateY(0px);
}
.is-open .bottom {
  -webkit-transform: rotate(45deg) translateY(0px);
  -ms-transform: rotate(45deg) translateY(0px);
  transform: rotate(45deg) translateY(0px);
}
/* =====================================================
 		.wrapper
======================================================== */
.wrapper {
	margin: 0 auto;
}
/* =====================================================
 		header
======================================================== */
header {
	position: relative;
	width: 100%;
	height: 75px;
}
header .boxHeader01 {
	width: 95%;
	padding-top: 10px;
	padding-left: 4%;
}
header .boxLogo {
	width: 100%;
	height: auto;
	text-align: left;
}
header .boxLogo img {
	max-width: 264px;
}
header h1 {
	padding-left: .5em;
	margin-bottom: 2px;
	transform: scale(0.9);
	transform-origin: left center;
	font-size: 1rem;
	line-height: 1.2;
	letter-spacing: 0;
	text-align: left;
	color: #99999a;
}
header .boxHeader02 {
	display: none;
}
/* =====================================================
 		.boxMainImg
======================================================== */
.boxMainImg {
  border-top: 5px solid #64B4FF;
}

/* =====================================================
 		main
======================================================== */
main article>h2 {
	width: 88%;
	max-width: 330px;
	margin: 30px auto;
}
main .secIndex {
	width: 88%;
	margin: 0 auto;
	max-width: 330px;
	padding-bottom: 65px;
}
main .secIndex ul {
	width: 100%;
	text-align: center;
}
main .secIndex li {
	width: 100%;
	max-width: 330px;
	margin: 0 auto 25px;
}
main .secIndex li:last-of-type {
	margin-bottom: 0;
}
main .secIndex li a {
	display: block;
}
/* .secNews
-------------------------------------------------------- */
main .secNews h2 {
	width: 100%;
	height: 43px;
	padding-left: 6%;
	background: url("../img/top/bak_title_news.png") center repeat-x;
	background-size: contain;
	text-align: left;
	line-height: 43px;
}
main .secNews h2 img {
	max-width: 239px;
	height: auto;
}
main .secNews .btnNew {
	float: right;
	margin-right: 6%;
}
main .secNews .btnNew img {
	max-width: 85px;
}
main .secNews .boxIframe {
	width: 88%;
	margin: 0 auto;
  overflow:auto;
  -webkit-overflow-scrolling:touch;
}
main .secNews .boxIframe iframe {
	width: 100%;
	height: 200px;
  margin: 0 auto 75px;
  border: none; /* 追加で指定 */
  display: block; /* 追加で指定 */
}
/* =====================================================
 		aside
======================================================== */
aside .boxBanner {
	width: 88%;
	max-width: 330px;
	margin: 0 auto 45px;
}
aside .boxContact {
	padding: 25px 6%;
	background: #F0F0F0;
	text-align: justify;
	font-size: 1.5rem;
	letter-spacing: 0;
}
aside .boxContact .boxInner {
	width: 100%;
	max-width: 330px;
	margin: 0 auto;
	text-align: center;
}
aside .boxContact h2 img {
	max-width: 294px;
	margin-bottom: 15px;
}
aside .boxContact .imgClinic img {
	max-width: 180px;
	margin-bottom: 25px;
}
aside .boxContact h3 {
	color: #0351AD;
	text-align: left;
	font-weight: bold;
	font-size: 1.6rem;
}
aside .boxContact p {
	margin-bottom: 25px;
	text-align: justify;
	padding-left: 1em;
}
aside .boxContact p strong {
	font-weight: bold;
}
aside .boxContact .imgTel {
	width: 100%;
	max-width: 300px;
	margin: 0 auto 15px;
}
aside .boxContact .btnAccess {
	width: 100%;
	max-width: 300px;
	margin: 0 auto;
}
/* ・診療時間 table
-------------------------------------------------------- */
aside .timeTable {
	width: 88%;
	max-width: 330px;
	margin: 45px auto;
}
aside .timeTable table {
	width: 100%;
	height: auto;
	border: 2px solid #0351AD;
	font-size: 1.6rem;
	color: #0351AD;
	line-height: 1;
}
aside .timeTable table .firstLine th {
	background: #F0F0F0;
	font-weight: bold;
}
aside .timeTable table th,
aside .timeTable table td {
	padding: 6px 1.6% 5px;
	border: 1px solid #0351AD;
}
aside .timeTable table span {
	color: #83BC00;
}
aside .timeTable table .remarks {
	font-size: 1.4rem;
}
/* =====================================================
 		footer
======================================================== */
.footerInner {
	width: 100%;
	height: 40px;
	padding-top: 10px;
	background: #7EC7F0;
	color: #fff;
	font-size: 1.1rem;
	line-height: 1.2;
}



@media screen and (min-width:600px) {
/* SPファースト */
/* =====================================================
	・ ハンバーガーメニュー (min-width:600px)
======================================================== */
  .gnavi-btn {
    display: none;
  }
	  /* ・#globalNavi
  -------------------------------------------------------- */
  #globalNavi {
    position: static;
		background: url("../img/top/bak_nav.jpg") center repeat-x;
		background-size: contain;
		border-top: 5px solid #64B4FF;
		border-bottom: 5px solid #64B4FF;
  }
	#globalNavi>ul {
		width: 100%;
		max-width: 776px;
		padding: 0;
    height: auto;
		margin: 0 auto;
		text-align: center;
		background: url("../img/top/bak_nav.jpg") center repeat-x;
		background-size: contain;
	}
	#globalNavi li {
		float: left;
		width: 16.66%;
		margin: 0;
	}
	#globalNavi li a {
		width: 100%;
		display: block;
		color: #fff;
		text-decoration: none;
		transition: all 0.4s ease-in-out;
	}
  #M1 {
    background: url("../img/top/m01b.jpg") center no-repeat;
    background-size: contain;
  }
  #M2 {
    background: url("../img/top/m02b.jpg") center no-repeat;
    background-size: contain;
  }
  #M3 {
    background: url("../img/top/m03b.jpg") center no-repeat;
    background-size: contain;
  }
  #M4 {
    background: url("../img/top/m04b.jpg") center no-repeat;
    background-size: contain;
  }
  #M5 {
    background: url("../img/top/m05b.jpg") center no-repeat;
    background-size: contain;
  }
  #M6 {
    background: url("../img/top/m06b.jpg") center no-repeat;
    background-size: contain;
  }
  #globalNavi li a:hover{
    background: none;
  }
  #globalNavi li a:hover img {
    visibility: hidden;
  }
/* =====================================================
 		header (min-width:600px)
======================================================== */
	header {
		height: auto;
	}
	header .boxInner {
		position: relative;
		height: 75px;
	}
	header .boxHeader02 {
		display: block;
		position: absolute;
		top: 0;
		right: 0;
		width: 300px;
		height: 75px;
		text-align: right;
	}

/* =====================================================
 		.boxMainImg
======================================================== */
  .boxMainImg {
    border-top: none;
  }
/* =====================================================
 		main (min-width:600px)
======================================================== */
	main article>h2 {
		max-width: 596px;
		margin: 0 auto;
	}
	main .secIndex {
		max-width: 600px;
		padding-bottom: 30px;
		background: transparent;
	}
	main .secIndex ul {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}
	main .secIndex li {
		width: 49%;
		max-width: 288px;
		margin: 0 0 15px;
	}
	main .secNews {
		padding-bottom: 35px;
	}
	main .secNews .boxIframe iframe {
    width: 576px;
		margin: 0 auto 35px;
	}
/* =====================================================
 		aside (min-width:600px)
======================================================== */
	aside .boxContact .imgClinic img {
		max-width: 100%;
	}
}

@media screen and (min-width:900px) {
/* SPファースト */
  html {
    background: #fff;
  }
  body {
		background: url("../img/top/bak_html.png") center top repeat-x;
		background-size: auto;
  }
	.wrapper {
		position: relative;
		max-width: 930px;
	}
	.wrapper::before,
	.wrapper::after {
		position: absolute;
		top: 0;
		content: "";
		display: block;
		width: 15px;
		height: 900px;
	}
	.wrapper::before {
		background: url("../img/top/left.jpg") left top no-repeat;
		background-size: 15px 450px;
	}
	.wrapper::after {
		right: 0;
		background: url("../img/top/right.jpg") left top no-repeat;
		background-size: 15px 450px;
	}
 	/* =====================================================
    ・ 共通クラス (min-width:900px)
  ======================================================== */
  .spNone {
    display: block!important;
  }
  .pcNone {
    display: none!important;
  }
  .onlySp {
    display: none!important;
  }
  .onlyPc {
    display: block!important;
  }
	#globalNavi>ul {
		display: block;
		max-width: 900px;
	}
	#globalNavi li a:hover img {
		opacity: 1;
	}
/* =====================================================
 		header (min-width:900px)
======================================================== */
	header {
		margin-bottom: 6px;
	}
	header .boxHeader01 {
		width: 95%;
		padding-left: 0;
	}
	header .boxInner {
		max-width: 900px;
		margin: 0 auto;
	}
	header h1 {
		transform: none;
		margin-bottom: 7px;
		font-size: 1.1rem;
		padding-left: 0;
	}
	header .boxLogo img {
		max-width: 100%;
    margin-left: -2px;

	}
/* =====================================================
 		main (min-width:900px)
======================================================== */
	.wrapMain {
		max-width: 900px;
		margin: 0 auto;
	}
	main {
		width: 71.11%;
		float: left;
		background: #fff;
	}
	main article {
		padding-left: 23px;
		padding-right: 22px;
	}
	main article>h2 {
		width: 100%;
	}
	main .secIndex {
		width: 100%;
		padding-bottom: 18px;
	}
	main .secIndex ul {
		width: 100%;
	}
	/* .secNews (min-width:900px)
	-------------------------------------------------------- */
	main .secNews {
		border: 1px solid #99999A;
		padding-bottom: 0;
		margin-bottom: 40px;
	}
	main .secNews .boxTitle {
		position: relative;
	}
	main .secNews h2 {
		width: 98%;
		height: auto;
		margin: 5px auto;
		padding-left: 0;
		background: none;
		text-align: left;
		line-height: 1em;
	}
	main .secNews h2 img {
		max-width: 582px;
		height: auto;
	}
	main .secNews .btnNew {
		float: none;
		margin-right: 0;
		position: absolute;
		top: 6px;
		right: 20px;
	}
	main .secNews .boxIframe {
		width: 100%;
	}
	main .secNews .boxIframe iframe {
		height: 442px;
	}
/* =====================================================
 		aside (min-width:900px)
======================================================== */
	aside {
		float: right;
		width: 28.88%;
		background: #fff;
		padding-left: 0;
		padding-right: 16px;
	}
	aside .secNews {
		padding-top: 40px;
		padding-bottom: 35px;
	}
	aside .secNews h2 {
		background: #fff;
		padding-left: 0;
		margin-bottom: 20px;
	}
	aside .secNews h2 span {
		max-width: 100%;
	}
	aside .secNews h2 img {
		width: 243px;
	}
	aside .secNews .boxIframe {
		width: 100%;
		height: 250px;
	}
	aside .secNews .boxIframe iframe {
    width: 95%;
		height: 250px;
	}
	aside .boxBanner {
		width: 100%;
		margin: 20px auto;
	}
	aside .boxContact {
		padding: 4px;
		margin: 0 auto;
		background: #fff;
		border: 1px solid #838383;
	}
	aside .boxContact .boxInner {
		width: 100%;
		max-width: none;
		background: #F0F0F0;
		padding: 12px 10px;
	}
	aside .boxContact h2 img {
		margin-bottom: 10px;
	}
	aside .boxContact .imgClinic img {
		margin-bottom: 10px;
	}
	aside .boxContact h3 {
		font-size: 1.2rem;
	}
	aside .boxContact p {
		margin-bottom: 10px;
		text-align: justify;
		padding-left: 1em;
		font-size: 1.2rem;
	}
	aside .boxContact p strong {
		font-weight: bold;
	}
	aside .boxContact .imgTel {
		width: 100%;
		margin: 0 auto 15px;
	}
	/* ・診療時間 table
	-------------------------------------------------------- */
	aside .timeTable {
		width: 100%;
		margin: 20px auto;
	}
	aside .timeTable table {
		border: 1px solid #0351AD;
		font-size: 1.1rem;
	}
	aside .timeTable table span {
		font-size: 1.3rem;
	}
	aside .timeTable table .remarks {
		font-size: 1.2rem;
	}
/* =====================================================
 		footer
======================================================== */
	footer {
		position: relative;
		width: 100%;
		height: auto;
		background: #7EC7F0;
		padding-top: 7px;
		border-top: 8px solid #C3DFFF;
		color: #fff;
	}
	.footerInner {
		width: 100%;
		height: auto;
		max-width: 900px;
		padding-top: 10px;
		padding-bottom: 20px;
		margin: 0 auto;
		font-size: 1.2rem;
		line-height: 1.2;
	}
	.footerInner nav {
		float: left;
		width: 70%;
		text-align: left;
		padding-left: 23px;
	}
	.footerInner ul {
		position: relative;
		float: left;
		padding-right: 1.5em;
		padding-left: 1em;
	}
	.footerInner ul:first-of-type::before,
	.footerInner ul::after {
		position: absolute;
		top: 0;
		display: block;
		content: "";
		width: 1px;
		height: 58px;
		background: #fff;
	}
	.footerInner ul:first-of-type::before {
		left: 0;
	}
	.footerInner ul::after {
		right: 0;
	}
	.footerInner ul li {
		line-height: 1.6;
	}
	.footerInner ul li a {
		color: #fff;
	}
	.footerInner ul li a:hover {
		opacity: .7;
	}
	footer .boxCopy {
		float: right;
		width: 28%;
		text-align: right;
    margin-right: 16px;
	}
	footer .boxCopy h2 {
		font-size: 1.6rem;
		margin-top: 5px;
		margin-bottom: 5px;
	}
	footer small {
	}
}