/* [ hoshino-osaka-clinic.com ] : index.css */


/*======================================================================*
 *  [ メインスライド ]
 *======================================================================*/

.mainslide {
	position: relative;
	margin-bottom: -12.5%;
	padding-top: 48.57%;
	overflow: hidden;
}
.mainslide .inner {
	position: absolute;
	top: 0;
	width: 100%;
}
.mainslide div + div { display: none; }
.mainslide a { width: 100%; }
.mainslide img { width: 100%; }
.mainslide + .wrap { position: relative; }

@media screen and (min-width: 1400px) { /* PC */
	.mainslide {
		margin-bottom: -150px;
		padding-top: 680px;
	}
	.mainslide .inner {
		top: 50%;
		-webkit-transform: translateY(-50%);
		transform: translateY(-50%);
	}
} /* */
@media screen and (max-width: 1024px) and (min-width: 768px) { /* Tablet */
	.mainslide { margin-bottom: -47px; }
}

@media screen and (max-width: 767px) { /* Smartphone */
	.mainslide {
		margin-bottom: -20px;
		padding-top: 55.99%;
	}
} /* */


/*======================================================================*
 *  [ メニュー ]
 *======================================================================*/

.menulist {
	position: relative;
	margin-top: 0;
	margin-bottom: 25px;
	z-index: 1000;
}

.menulist ul {
	list-style: none;
	margin: 0 -15px;
	font-size: 2rem;
	line-height: 1.2;
	text-align: center;
}
.menulist li {
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: stretch;
	align-items: stretch;
	width: 33.33333333%;
	padding: 0 15px;
}
.menulist a {
	position: relative;
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-align-items: center;
	align-items: center;
	width: 100%;
	padding: 15px 22px 15px 12px;
	background: rgba(190,160,54,.8);
	color: #fff;
	text-decoration: none;
}
.menulist a:hover, 
.menulist a:active { background: rgba(190,160,54,1); }
.menulist a::after {
	position: absolute;
	top: 50%;
	right: 11px;
	width: 11px;
	height: 18px;
	margin-top: -9px;
	background: url(../img/arrow_wh.svg);
	background-size: contain;
	content: "";
	opacity: .5;
}
.menulist a img {
	width: 60px;
	-webkit-flex-grow: 0;
	flex-grow: 0;
	-webkit-flex-shrink: 0; 
	flex-shrink: 0; 
	margin-right: 5px;
}
.menulist a p { margin: 0; }

@media screen and (max-width: 767px) { /* Smartphone */
	.menulist {
		margin-bottom: 15px;
	}
	.menulist ul {
		margin: 0 -5px 0 0;
		font-size: 1.4rem;
		font-weight: bold;
	}
	.menulist li {
		padding: 0 5px 0 0;
	}
	.menulist a {
		padding: 45px 10px 10px 10px;
	}
	.menulist a::after { display: none; }
	.menulist a img {
		position: absolute;
		top: 5px;
		left: 50%;
		width: 36px;
		margin: 0 0 0 -18px;
	}
} /* */


/*======================================================================*
 *  [ オンラインショップ ]
 *======================================================================*/

.shop {
	margin-top: 0;
	margin-bottom: 25px;
}

.shop p {
	text-shadow:0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff;
}


@media screen and (max-width: 767px) { /* Smartphone */
	.shop {
		margin-top: 0;
		margin-bottom: 15px;
	}
} /* */


/*======================================================================*
 *  [ 診療内容 ]
 *======================================================================*/

.contents {
	position: relative;
	padding: 15px;
	background: url(../../img/bg_services.png);
	background-size: 6px 6px;
	z-index: 1000;
}
.contents .inner {
	padding: 30px 33px 15px 33px;
	border: 2px solid #fff;
	background: #f6f6f3;
}

.contents section {
	width: 50%;
	padding: 0 10px;
}
.contents a {
	display: block;
	color: #3f3e3d;
	text-decoration: none;
}

/* [ 画像 ] */
.contents figure { margin: 0; }
.contents figure img {
	width: 100%;
	border: 1px solid #fff;
	border-radius: 10px;
}

/* [ テキスト ] */
.contents h3 {
	position: relative;
	margin-top: -15px;
	font-size: 2rem;
	line-height: 1.2;
	text-align: center;
	z-index: 10;
}
.contents h3 span {
	padding: 12px 20px 10px 20px;
	background: #224f7b;
	color: #fff;
}
.contents a:hover h3 span { background: #597b9c; }
.contents p { padding: 0 7%; }

@media screen and (max-width: 767px) { /* Smartphone */
	.contents { padding: 5px; }
	.contents .inner {
		padding: 15px 12px 5px 12px;
		border-width: 1px;
	}
	.contents section {
		width: 100%;
		padding: 0;
	}
	.contents section + section { margin-top: 20px; }
	/* [ テキスト ] */
	.contents h3 { font-size: 1.8rem; }
	.contents h3 span { padding: 10px 15px 8px 15px; }
	.contents p {
		padding: 0;
		font-size: 1.4rem;
	}
} /* */


/*======================================================================*
 *  [ お知らせ ]
 *======================================================================*/

/* [ タイトル ] */
.information h2 {
	margin-bottom: 15px;
	color: #3e5163;
}
.information h2 span {
	padding-left: 35px;
	background: url(../img/icon_info.svg) left top 1px no-repeat;
	background-size: 25px 25px;
}

@media screen and (max-width: 767px) { /* Smartphone */
	.information h2 { margin-bottom: 5px; }
	.information h2 span {
		padding-left: 20px;
		background-position: left top;
		background-size: 15px 15px;
	}
} /* */

/* [ リスト ] */
.infolist {
	list-style: none;
	border-top: 1px dotted #bac4ce;
	line-height: 1.2;
}
.infolist li { border-bottom: 1px dotted #bac4ce; }
.infolist a, 
.infolist div {
	display: -webkit-flex;
	display: flex;
	position: relative;
	width: 100%;
	color: #3e5163;
	text-decoration: none;
}
.infolist a:hover, 
.infolist a:active { background: #f6f7f9; }
.infolist a::after {
	position: absolute;
	top: 50%;
	right: 11px;
	width: 8px;
	height: 13px;
	margin-top: -7px;
	background: url(../img/arrow_bl.svg);
	background-size: contain;
	content: "";
	opacity: .3;
}
.infolist time, 
.infolist p { padding: 15px 30px 13px 30px; }
.infolist p {
	-webkit-flex: 1;
	flex: 1;
	margin: 0;
}

@media screen and (max-width: 767px) { /* Smartphone */
	.infolist { margin: 0 -13px; }
	.infolist a, 
	.infolist div {
		display: block;
		padding: 10px 25px 8px 13px;
	}
	.infolist time {
		padding: 0;
		font-size: 1.1rem;
	}
	.infolist p { padding: 0 0 0 10px; }
} /* */


/*======================================================================*
 *  [ お知らせ ]
 *======================================================================*/

/* [ タイトル ] */
.information h2 {
	margin-bottom: 15px;
	color: #3e5163;
}
.information h2 span {
	padding-left: 35px;
	background: url(../img/icon_info.svg) left top 1px no-repeat;
	background-size: 25px 25px;
}

@media screen and (max-width: 767px) { /* Smartphone */
	.information h2 { margin-bottom: 5px; }
	.information h2 span {
		padding-left: 20px;
		background-position: left top;
		background-size: 15px 15px;
	}
} /* */

/* [ リスト ] */
.infolist2 {
	list-style: none;
	border-top: 1px dotted #bac4ce;
	line-height: 1.2;
}
.infolist2 li { border-bottom: 1px dotted #bac4ce; }
.infolist2 a, 
.infolist2 div {
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: flex-start;
	align-items: flex-start;
	position: relative;
	width: 100%;
	padding: 15px 30px 13px;
	color: #3e5163;
	text-decoration: none;
}
.infolist2 a:hover, 
.infolist2 a:active { background: #f6f7f9; }
.infolist2 a::after {
	position: absolute;
	top: 50%;
	right: 11px;
	width: 8px;
	height: 13px;
	margin-top: -7px;
	background: url(../img/arrow_bl.svg);
	background-size: contain;
	content: "";
	opacity: .3;
}
.infolist2  span {
	width: 7em;
	margin-right: 15px;
	padding: 3px 0 2px;
	border: 1px solid #666;
	border-radius: 3px;
	background: #fff;
	color: #666;
	font-size: 1.2rem;
	text-align: center;
}
.infolist2 span[data-cat="お知らせ"] {
	border-color: #ea539a;
	color: #ea539a;
}
.infolist2 span[data-cat="キャンペーン"] {
	border-color: #22374c;
	color: #22374c;
}
.infolist2 span[data-cat="コラム"] {
	border-color: #947919;
	color: #947919;
}
.infolist2 time {
	padding-top: 2px;
	margin-right: 15px;
}
.infolist2 p {
	-webkit-flex: 1;
	flex: 1;
	margin: 0;
	padding-top: 2px;
}

@media screen and (max-width: 767px) { /* Smartphone */
	.infolist2 { margin: 0 -13px; }
	.infolist2 a, 
	.infolist2 div {
		display: block;
		padding: 10px 25px 8px 13px;
	}
	.infolist2 span {
		margin-right: 5px;
	}
	.infolist2 time {
		font-size: 1.3rem;
	}
	.infolist2 p {
		margin-top: 7px;
		padding-top: 0;
	}
} /* */


/*======================================================================*
 *  [ インスタ ]
 *======================================================================*/

.instalink {
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-align-items: center;
	align-items: center;
	width: 100%;
	padding: 10px 20px;
	border: 1px solid #d0d0d0;
	text-decoration: none;
}
.instalink:hover, 
.instalink:active {
	background: #f4f9fa;
}
.instalink > img {
	width: 45px;
	height: 45px;
}
.instalink > b {
	color: #525252;
	margin-left: 10px;
	white-space: nowrap;
}
.instalink > p {
	-webkit-flex: 1;
	flex: 1;
	margin: 0 0 0 20px;
	color: #808080;
}


/*======================================================================*
 *  [ バナー ]
 *======================================================================*/

.bnrlist {
	padding: 20px;
	background: #f4f9fa;
}
.bnrlist p { margin-top: 0; }
.bnrlist ul { list-style: none; }
.bnrlist li { width: calc(33.33% - 7.5px); }
.bnrlist li + li { margin-left: 15px; }
.bnrlist li a { border: 1px solid #ccc; }
.bnrlist li a img {
	width: 100%;
	max-width: 260px;
}

@media screen and (max-width: 767px) { /* Smartphone */
	.bnrlist li { width: auto; }
	.bnrlist li + li { margin: 15px 0 0 !important; }
} /* */


