@charset "utf-8";

/* ===================================================================
　CSS information

　file name  :style.css
　style info :サイトトップ用
=================================================================== */


/* =============== topmainvis =============== */
.tmv {
	position: relative;
	margin: 0 auto;
	max-width: 1200px;
}
.tmv img{
  width: 100%;
  height: auto;
}
.tmv-link{
  display: flex;
  width: calc(100% - 10px);
  margin: 20px 5px ;
}
.tmv-link li {
  width: 100%;
}
.tmv-link li:not(:first-child) {
  margin-left: 5px;
}
.tmv-link a{
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 10px 10px 10px 40px;
  color: #fff;
  font-size: 1.1rem;
  line-height: 1.3;
  border-radius: 5px;
}
.tmv-link_care a{
  background-color: rgba(106, 174, 213, 0.8);
}
.tmv-link_qa a{
  background-color: rgba(110, 193, 192, 0.9);
}
.tmv-link ul li a:hover img {
	opacity: 0.7;
}

.tmv-link a:before{
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
  content: "→";
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  color: #fff;
  font-weight: bold;
  text-align: center;
  border-radius: 50%;
}
.tmv-link_care a:before{
  background: #007fc8;
}
.tmv-link_qa a:before{
  background: #00a594;
}
.tmv-link em{
  display: inline-block;
  width: 100%;
  margin-bottom: 5px;
  font-size: 1.6rem;
  font-weight: bold;
}



/* =============== main =============== */
.sect{
	position: relative;
	margin: 25px 10px 0;
	max-width: 1200px;
}
.sect h2 {
	padding: 2px 0 2px 40px;
	color: #554a48;
	font-size: 20px;
	background: url(/images/ico_doctor.gif) no-repeat 0 0;
}

/* お知らせ */
.information {
	position:relative;
	padding: 1px 1px 20px 1px;
	border: solid 1px #e8dfcf;
}
.information h2 {
	padding:10px 20px;
	color:#453730;
	font-size: 20px;
	background: #f3ece3;
}
/*.information p {
	position: absolute;
	right: 15px;
	top: 10px;
	border-radius: 5px;
	background: #8bc431;
}
.information p a {
	display:block;
	padding:5px 10px;
	color:#fff;
}
.information p a:before {
	content: "→";
	padding-right:5px;
}
.information p a:hover {
	color: #fff;
	border-radius: 5px;
	background: #9ecd54;
}*/
.information-box {
	margin: 0 20px;
}
.information-box p {
	margin-top: 15px;
	padding-top: 15px;
	border-top: dotted 1px #aa9991;
}
.information-box p:first-child {
	margin-top:0;
	border-top: none;
}
.information-box p span {
	font-size:10px;
	font-weight:normal;
}
.information-box p a {
	position:relative;
	font-size:16px;
	font-weight: bold;
	padding-left:20px;
}
.information-box p a:before {
	content: "";
	display: inline-block;
	border: 4px solid transparent;
	border-left-color: #ff9e16;
	position: absolute;
	left: 10px;
	top: 8px;
}

/* 診療時間/担当医 */
.time-box{
	margin-top:5px;
}
.time-table table {
  width: 100%;
	border: solid 2px #ead2ae;
}

.time-table th, .time-table td{
	padding: 10px;
  text-align: center;
	line-height: 1.2;
	vertical-align: middle;
	border: solid 1px #e4dbcd;
}

.time-table thead th {
	background: #fff8e2;
}
.time-table tbody th {
  text-align: left;
  font-weight: bold;
	background: #fffefe;
}
.time-table tbody td {
	background: #fffefe;
}

.time-list{
	margin-top: 10px;
}
.time-list li {
  position: relative;
  padding-left: 1.2em;
	line-height: 1.8;
}
.time-list li:before {
  position: absolute;
  left: 0;
  top: 2px;
	content: "●";
  display: inline-block;
  font-size: 1.2rem;
  font-family: Osaka,"ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
	color: #9bcc4d;
}
.time-voice{
  margin-top: 20px;
  text-align: center;
}







/* ～959px：タブレット
------------------------------ */
@media screen and (max-width: 959px) {
  
  

 
}
  
/* ～479px：SP
------------------------------ */
@media screen and (max-width: 479px) {

  .time-table tbody th {
    width: 110px;
  }
  .time-table tbody td span {
    writing-mode: vertical-rl;
    white-space: nowrap;
    margin: 0;
    line-height: 1em;
  }
  
  
}


/* 960px～：PC
------------------------------ */
@media screen and (min-width: 960px) {
  
  /* =============== topmainvis =============== */
  .tmv{
    padding-bottom: 30px;
  }
  .tmv-link {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    margin: 0;
  }
  .tmv-link li {
    width: 50%;
  }
  .tmv-link em{
    font-size: 2.2rem;
    text-align: left;
  }
  .tmv-link a{
    padding: 15px 10px 15px 80px;
    font-size: 1.6rem;
		border-radius: 0;
  }
  .tmv ul li a:hover{
    opacity: 0.7;
  }
  .tmv-link a:before{
    left: 20px;
  }

  /* =============== main =============== */
  .sect{
    margin: 50px auto 0;
  }

  /* 診療時間/担当医 */
  .time-box{
    display: flex;
    justify-content: space-between;
  }
  .time-table{
    width: calc(100% - 355px);
  }
  .time-voice{
    margin: 0;
    width: 325px;
    text-align: left;
  }
  
  
  .time-table tbody th {
    width: 25%;
    text-align: center;
  }
  .time-table tbody td {
    width: 15%;
    height: 65px;
  }
  .time-table tbody th em {
    margin-left: 10px;
    font-size: 1.6rem;
  }

  
	
}



