/* ホーム */

/* メインビジュアル */

.homeVisual {
 width: 100%;
 height: 1080px;
 background: url("../imgs/main-visual.jpg") center center no-repeat;
 background-size: cover;
 position: relative;
}

.homeVisual:after {
 content: '';
 position: absolute;
 background: linear-gradient(rgba(1,146,119,0.50196),rgba(255,255,255,0.63922));
 top: 0;
 right: 0;
 bottom: 0;
 left: 0;
}

.homeVisualInner {
 height: 100%;
 width: 100%;
}

.homeCopy {
 position: relative;
 z-index: 5;
 width: 100%;
 height: 100%;
 display: flex;
 justify-content: center;
 align-items: center;
}

.homeCopyInner {
 -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
 line-height: 2.50;
}

.homeCopyInner span {
 padding-right: 32px;
 border-right: #fff solid 5px;
 font-size: 3.0rem;
 font-weight: 500;
 color: #fff;
}

.homeCopyInner span:first-child {
 border-right: none;
 padding-right: 0;
}

.importantNews {
 position: absolute;
 left: 0;
 right: 0;
 bottom: 90px;
 z-index: 5;
}

.homeNewsInner {}
.homeNewsInner dl {
 display: flex;
 background: #fff;
 border-radius: 20px;
 box-shadow: 0px 5px 20px 0px rgba(70, 70, 70, 0.75);
 overflow: hidden;
 min-height: 64px;
}

.homeNewsInner dl dt {
 width: 185px;
 background: #0f208a;
 font-size: 1.125rem;
 font-weight: bold;
 color: #fff;
 line-height: 1.0;
 display: flex;
 justify-content: center;
 align-items: center;
}

.homeNewsInner dl dd {
 width : calc(100% - 185px);
 background: #ffec00;
 padding: 15px 25px;
 line-height: 1.4;
 display: flex;
 align-items: center;
}
.homeNewsInner dl dd ul { margin-bottom: 0;}

.newsHead {
 color: #a6a5a5;
 float: left;
} 

.homeNewsInner dl dd ul li { display: flex;}
.homeNewsInner dl dd ul li a {
 padding-left: 18px;
 color: #000;
}

.homeNewsWarp {
 padding: 90px 0;
 background: #fff;
}

.newsTitle {
 background: url("../imgs/bg-title-news.png") center center no-repeat;
 background-size: contain;
 min-height: 200px;
 display: flex;
 flex-direction: column;
 align-items: center;
 justify-content: center;
}

.newsTitle dt {
 font-size: 1.875rem;
 font-weight: bold;
 color: #fff;
 line-height: 1.0;
}

.newsTitle dd {
 margin-top: 10px;
 font-size: 0.75rem;
 font-weight: bold;
 color: #ffec00;
 line-height: 1.0;
}

@media (max-width: 767px) {
 .homeVisual { height: 595px;}
 .homeCopyInner span {
  padding-right: 20px;
  border-right: #fff solid 3px;
  font-size: 1.750rem;
 }
 .importantNews { bottom: 60px;}
 .homeNewsInner dl {
  border-radius: 20px;
  min-height: 45px;
 }
 .homeNewsInner dl dt {
  width: 125px;
  font-size: 0.875rem;
 }
 .homeNewsInner dl dd { width: calc(100% - 125px);}
 .homeNewsInner dl dd ul li { font-size: 0.6875rem;}
 .homeNewsInner dl dd ul li a {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 20em;
  padding-left: 12px;
 }
 .homeNewsWarp {
  padding-top: 60px;
  padding-bottom: 30px;
 }
 .newsTitle {
  min-height: 90px;
  margin-bottom: 15px;
 }
 .newsTitle dt { font-size: 0.875rem;}
 .newsTitle dd {
  margin-top: 5px;
  font-size: 0.375rem;
 }
 .newsList {
  margin-right: -15px;
  margin-left: -15px;
 }
 .newsList ul li span {
  width: 84px;
  font-size: 0.875rem;
 }
 .newsList ul li {
  min-height: 70px;
  padding: 0 15px;
 }
 .newsList ul li a {
  width: calc(100% - 84px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
 }
 .newsArchiveLink {
  margin-top: 15px;
  padding-right: 15px;
 }
 .newsArchiveLink a {
  padding: 10px 20px;
  font-size: 0.875rem;
 }
}

@media (max-width: 479px) {
 .homeNewsInner dl dd { padding: 0 15px;}
 .homeNewsInner dl dd ul li a { width: 33vw;}
}

/* 当院について */

body.about .titleWarp {
 background: url("../imgs/bg-title-about.jpg") center center no-repeat;
 background-size: cover;
} 

p.name strong {
 font-size: 1.50rem;
 font-weight: normal;
}

.profile {
 border-top: none!important;
}

.profile th {
 padding: 0 0!important;
 background: none!important;
 border-bottom: none!important;
 width: 160px;
 vertical-align: top;
}

.profile th span {
 display: block;
 width: 100%;
 padding: 0 0!important;
 text-align: center;
 border: #e8e8e8 solid 2px;
 margin-bottom: 18px;
}

.profile td {
 padding: 0 0!important;
 border-bottom: none!important;
 vertical-align: top;
 padding-left: 48px!important;
 background: url("../imgs/border-profile.png") top 15px left no-repeat;
}

.profile td span {
 display: block;
 margin-bottom: 18px;
}

@media (max-width: 479px) {
 .profile { margin-top: 30px;}
 .profile th, .profile td {
  display: list-item;
  list-style: none;
 }
 .profile th span {
  margin-bottom: 10px;
 }
}

/* 診療方針 */

body.policy .titleWarp {
 background: url("../imgs/bg-title-policy.jpg") center center no-repeat;
 background-size: cover;
} 

.policy .contentsInner { counter-reset: number 0;}
.policy .contentsInner h2 { padding-left: 50px;}
.policy .contentsInner h2:after {
 position: absolute;
 top: 8px;
 left: 0;
 counter-increment: number 1;
 content: counter(number);
 display: block;
 background: #019277;
 border-radius: 999px;
 overflow: hidden;
 width: 38px;
 height: 38px;
 text-align: center;
 font-size: 1.25rem;
 font-weight: bold;
 color: #fff;
 line-height: 38px;
}

/* 診療案内 */

body.information .titleWarp {
 background: url("../imgs/bg-title-information.jpg") center center no-repeat;
 background-size: cover;
} 
