@charset "Shift_JIS";
/* ----- 藤川歯科医院ホームページBase --- */
html {
	font-size: 62.5%;
	text-size-adjust: 100%;

}

*	{
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
}

@media screen and  (max-height: 800px) {
   /* 横向きの場合のスタイル */
#ctlbox	{
	display:none;
}
#ctlbox-l	{
	display:block;
}

}
@media screen  and (min-height: 800px) {
   /* 縦向きの場合のスタイル */
#ctlbox	{
	display:block;
}
#ctlbox-l	{
	display:none;
}

}


body {
	margin: 0px 0px;
	font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
	font-size: 34px;
	font-size: 3.4em;
	background-color: #fffff0;
	color:#333399;
	max-height: 100%;
	background-image: url("../images/doctor1.png");
	background-repeat: no-repeat;
	background-position: right bottom;
	background-attachment: fixed;
}

.contents	{
}

div#topbox	{
	margin-top:0px;
	height:540px;
	width:100%;

	background: url('../images/main.jpg') center no-repeat;
	background-size: cover;
	transition: 1s;
}

/*div#names	{
	width:100%;
	text-indent:-9999px;
	height:340px;
	background-position: left top;
	background-repeat: no-repeat;
	background-image: url("../images/slogo.png");
	
}*/

div#topfoot	{
	background-color:#9999ff;
	color:#ffffff;
	text-align:center;
	width:100%;
	padding:0px 0px;
	height:36px;
	font-size:26px;
}

#timetable {
	margin-left: auto;
	margin-right: auto;
}

#timetable td {
	text-align:center;
}


.wrapper{
	min-height: 100vh;
	position: relative;/*←相対位置*/
	padding-bottom: 18px;/*←footerの高さ*/
	box-sizing: border-box;/*←全て含めてmin-height:100vhに*/

}

div#headline	{
	width:100%;
	height:26px;
	font-size:20px;
	text-align:right;
	padding-right:90px;
	background: linear-gradient(#66c, #baf);
}

div#headline a	{
	color:#fff;
	text-decoration:none;
}

div#hl-l	{
	float:left;
	font-weight:normal;
	margin-left:6px;
}

div#header	{
	height:140px;
	background: url("../images/title.png") left repeat-x;
	background-size:  auto 140px;
	margin: 0px 0px;
}

div#toplogo	{
	width:100%;
	margin:0px 0px;
	padding: 0px;
	text-align:center;
	padding:34px 0px 0px;
	line-height:0.4;
	font-size: 8.6rem;
	font-weight:bold;
	text-shadow: 5px 5px 5px #fff;
	background-position:   center;
	background-repeat: no-repeat;
	background-image: url("../images/headlogo.png");

}

div#toplogo	.sub	{
	font-size:2.4rem;
}


footer{
	width: 100%;
	background-color: #99f;
	color: #009;
	text-align: center;
	padding: 0px 0;
	font-size:20px;

	position: absolute;/*←絶対位置*/
	bottom: 0; /*下に固定*/
}

#f-l	{
	width:290px;
	float:left;
	text-align:left;
	padding:2px 2px 2px 5px;
}
#f-l	a:link	{
	color: #ffc; 
	text-decoration: none;
}
#f-l	a:visited	{
	color: #ffc;
	text-decoration: none;
}

#f-l	a:hover	{
	color: #F30;
	background-color:transparent;
	text-decoration: none;
	position: static;
}

#f-r	{
	width:auto;
	float:right;
	text-align:right;
	padding:2px 2px;
}

#ctlbox	{
  position: fixed;
  bottom: 20px;
  right: 50%;
  transform: translateX(50%);
  width:60vw;
  height:86px;
  min-width:840px;
  border-radius: 20px;
  background-color: rgba(0, 0, 120, 0.6);
  padding: 5px 10px;
  text-align:center;
  font-size:48px;
  color:#fff;
}

#ctlbox	ul {
	margin:0px 0px;
	text-align: justify;
	text-justify: distribute-all-lines; 
	padding:0px 0px;
}
#ctlbox ul:after {
	content:"";
	display: inline-block;
	width: 100%;
	line-height:0;
	height: 0;
}

#ctlbox	li {
	display:inline-block;
	margin:0px 0px;
	padding:0px 0px;
}
#ctlbox a:link {
	text-decoration:none;
	display:block;
	color:#fff;
	border:2px solid transparent;
  border-radius: 30px;
}
#ctlbox a:hover {
	background-color:#f60;
	color:#ff0;
	border:2px solid #fff;
  border-radius: 30px;
	
}

#ctlbox-l	{
  position: fixed;
  bottom: 30px;
  left: 0;
  width:86px;
  height:360px;
  background-color: rgba(0, 0, 120, 0.6);
  padding: 0px 5px;
  text-align:center;
  font-size:36px;
  color:#fff;
}

#ctlbox-l	ul {
	margin:0px 0px;
	padding:0px 0px;
	list-style:none;
}	

#ctlbox-l	li {
	margin:10px 0px;
	padding:0px 0px;
	line-height:1.0;
/*	-ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;*/
}
#ctlbox-l a:link {
	text-decoration:none;
	display:block;
	color:#fff;
	border:2px solid transparent;
  border-radius: 30px;
}
#ctlbox-l a:hover {
	background-color:#f60;
	color:#ff0;
	border:2px solid #fff;
	 border-radius: 30px;
}

	
	
.rotate {
	display:inline-block;
	transform: rotate(90deg);
	font-size:50px;
	padding:0px 0px;
	margin:0px 0px;
}

.phone {
	align:center;
	margin-right:3px;
}


table	{
	margin:24px 0px 38px;
	border:solid 1px #000099;
	font-size:2.8rem;
	border-collapse: separate;
	border-spacing: 2px 1px;
}

td	{
	border:1px solid #ccccee;
	padding:0px 14px;
	color:#0000aa;
	background-color:#ffffff;
}

th	{
	border:1px solid #ccccee;
	padding:3px;
	background-color:#eeeeff;
	text-align:center;
	color:#3333cc;
}


a:link {
	color: #66f; 
	text-decoration: underline;
} /* 下線 */

/*a:visited {
	color: #9999ff;
}
a:active {
	color: red;
}
a:hover {
}*/


h1 {
	height:50px;
	padding-top:6px;
	padding-left:10px;
	padding-bottom:0px;
	margin: 0px 0px;
	font-size:2rem;
	/*background-image: url("../images/h1.jpg");*/
	background-repeat: repeat-x;
	background-position:left top;
	color:#0000aa;
}
h2 {
	padding:8px 0px;
	margin:0px 0px;
	background: linear-gradient(#99f, #fff);
	font-size:4.6rem;
	color: #eef;
/*	border-top:0px solid #ccccff;*/
	border-bottom:1px solid #ccccff;
	text-align:center;
	text-shadow: 5px 5px 5px #66f;

}
h3 {
	padding:2px 0px;
	margin: 50px 20vw 20px;
	color: #9999ff;
	border-top:1px solid #000099;
	border-bottom:1px solid #000099;
	text-align:center;
	font-size:4.2rem;
	clear:both;
	background-color:rgba( 255, 255, 240, 0.7);
}
h4 {
	padding:2px 0px;
	margin: -20px 20vw 20px;
	color: #66f;
	border-bottom:1px solid #000099;
	text-align:center;
	font-size:2.8rem;
	background-color:#eef;
}
h5 {
	font-size:3.6rem;
	text-align:left;
	border-bottom:0px double #000099;
	color: #99f;
	text-shadow: 5px 5px 3px #ccc;
	margin:6px 6px;
	padding:6px 6px;
	
}
h6 {
	color: #33c;
	font-size:3.5rem;
	text-align:left;
	margin:6px 0px;
}


.dots {
	border-width: 0 0 8px;
	border-style: solid;
	border-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2 1"><circle fill="hsla(0, 0%, 65%, 1.0)" cx="1" cy="0.5" r="0.5"/></svg>') 0 0 100% repeat;
	width: 60vw;
}

/*----------------------------------------------------------
* Prefixed by https://autoprefixer.github.io
* PostCSS: v7.0.29,
* Autoprefixer: v9.7.6
* Browsers: last 4 version
*/

#tile {
list-style-type: none;
width: 60vw;
height:220px;
display: -ms-grid;
display: grid;
grid-gap: 20px;
-ms-grid-columns: 1fr 20px 1fr 20px 1fr;
grid-template-columns: 1fr 1fr 1fr;
-ms-grid-rows: 1fr 20px 1fr 20px auto;
grid-template-rows: 1fr 1fr auto;
-ms-grid-column-start:1;
-ms-grid-column-span:3;
padding-left:0px;
}#tile > *:nth-child(1) {
-ms-grid-row: 1;
-ms-grid-column: 1;
}#tile > *:nth-child(2) {
-ms-grid-row: 1;
-ms-grid-column: 3;
}#tile > *:nth-child(3) {
-ms-grid-row: 1;
-ms-grid-column: 5;
}#tile > *:nth-child(4) {
-ms-grid-row: 3;
-ms-grid-column: 1;
}#tile > *:nth-child(5) {
-ms-grid-row: 3;
-ms-grid-column: 3;
}#tile > *:nth-child(6) {
-ms-grid-row: 3;
-ms-grid-column: 5;
}#tile > *:nth-child(7) {
-ms-grid-row: 5;
-ms-grid-column: 1;
}#tile > *:nth-child(8) {
-ms-grid-row: 5;
-ms-grid-column: 3;
}#tile > *:nth-child(9) {
-ms-grid-row: 5;
-ms-grid-column: 5;
}

#tile li {
font-size: 12px;
border: solid 3px #ccf;
border-color: #ccf #33c #33c #ccf;
text-indent:-9999px;
height:100px;
background-repeat: no-repeat;
background-position: center;
background-size: contain;
background-color: #99f;
}

#tile li a{
display:block;
height:100%;
width:100%;
}
#tile li a:visited{
color:#fffff0;
}

#tile li a:hover{
color:#fffff0;

}

li.btn	{

}

#mn	{
	max-width:860px;
	margin:0px auto;
	text-align:left;
	font-size:3.0rem;

}
#mn h3 {
	margin: 0px 0px;
	font-size:4.2rem;
	clear:both;
}

#mn h4 {
	font-size:3.2rem;
	margin: 0px 40px;
	background-color:transparent;

}

#mn ul {
	margin-left:0em;
	list-style-type: none;
	padding:0px;
	margin-bottom:60px;

}

#mn li {
  padding-left: 1.5em;
  background-image: url('../images/check_icon.png');
  background-repeat: no-repeat;
  background-size: 1.2em;
  background-position: left top;
  margin-bottom:8px;
}

#mn ul.btlink {
	list-style-type: none;
	margin-left:0;
    display: flex;
    justify-content: center;
}

#mn ul.btlink li {
	display:inline-block;
	margin: 0px 5px;
	padding: 0px 0px;
  background-image: url('');
  background-size: 0em;

}	

#mn ul.btlink a {
	display:inline-block;
 	width: 42vw;
 	min-width:350px;
/*	height:6vh;*/
	min-height:34px;
	max-height:68px;
	text-align: center;
	line-height:1.0;
	padding: 5px 5px 0px;
	color:#fff;
	font-size:clamp(20px,1.3vw,24px);
	text-decoration:none;
	background: linear-gradient(180deg,#66f,50%,#006);
	border-radius: 1.3em;
	vertical-align:text-bottom;
}

#mn ul.btlink a:hover {
	color:#ff6;
	background: linear-gradient(180deg,#99f,50%,#006);
}



#mnx a.bt	{
	padding:10px;
	text-decoration:none;
	/*font-weight:bold;*/
	border-radius:3em;
	color:#fff;
	border-right:1px #333 solid;
	border-bottom:1px #333 solid;
	font-family: Meiryo, メイリオ, Osaka;
	font-size:0.8em;
}
#mnx a.bl	{
	background-color:#66f;
	color:#fff;
}
#mnx a:hover.bt	{
   	position: relative;/*ポジション移動*/
 	top: 1px; /* 1px 下に移動  */
	left: 1px;  /*1px 右に移動 */
	border-left:1px #111 solid;
	border-top:1px #111 solid;
	border-right:0px #000 solid;
	border-bottom:0px #000 solid;
	color:#ff0;
}
#mnx a:hover.bl	{
	background-color:#33f;
}

/* ====================

  スマートフォン

======================= */
@media only screen and (min-width: 0) and (max-width: 1024px) {

#mn ul.btlink a {
	font-size:24px;
}

}
