@charset "utf-8";
@import url(cmn.css);
@import url(base.css);

/* ==========================================================================
  MAIN
========================================================================== */

.mainimage {
	position: relative;
  text-align: center;
  width: 100%;
  overflow: hidden;
  padding-bottom: 0;
  margin-bottom: 8vh;
}
.mainimage div img {
  display: block;
  width: 98%;
  margin: 0 auto;
}
.slider {
  position: relative;
}
.main-txt {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 750px;
  text-align: center;
  transform: translate(-50%, -50%);
  background-color: rgba(255,255,255,0.8);
  border-radius: 10px;
  padding: 40px 30px;
}
.main-txt__tit {
  display: inline-block;
  color: #fff;
  font-family: var(--font02);
  font-size: clamp(1.4rem,2.375vw,2rem);
  font-weight: 500;
  background-color: var(--color02);
  border-radius: 80px;
  padding: 5px 35px;
  margin-bottom: 15px;
}
.main-txt p {
  font-family: var(--font02);
  font-size: clamp(2.1rem,3.75vw,4rem);
  font-weight: 500;
  line-height: 160%;
}
@media screen and (max-width: 767px) {
}

/* ==========================================================================
  CONTENTS
========================================================================== */

/* TOP */

.newsContent dl {
  width: 100%;
	display: flex;
  padding: 25px 0;
  border-bottom: solid 1px #cdcdcd;
}
.newsContent dl:first-child {
  border-top: solid 1px #cdcdcd;
}
.newsContent dl dt, .newsContent dl dd {
  display: block;
  text-align: left;
}
.newsContent dl dt {
  width: 180px;
  color: #929292;
}
.newsContent dl dd {
	flex: 1;
  position: relative;
}

.medical-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px 30px; /* 上下 左右 */
  margin: 0;
  padding: 0;
  list-style: none;
}
.medical-list__item {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  color: var(--color01);
  font-family: var(--font01);
  font-size: clamp(1.8rem,2vw,2rem);
  font-weight: 600;
  text-align: center;
}
.medical-list__item a {
  display: block;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  color: var(--color01);
  font-family: var(--font02);
  font-size: clamp(1.8rem,2.375vw,2.3rem);
  font-weight: 500;
  background-color: #fff;
  border-radius: 5px 5px 0 0;
  padding: 15px 0;
  margin: 0 auto;
}
.medical-list__item a:hover {
  background-color: var(--color03);
}
.medical-list__item a::after {
  content: "\f138";
	font-family: "Font Awesome 5 Free";
  font-size: 1.8rem;
	font-weight: 900;
	margin-left: 10px;
}

/* スマホ */
@media screen and (max-width: 640px) {
  .medical-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.clinic {
  color: #fff;
}
.clinic a {
  color: #fff;
}
.clinic h2 {
  color: #fff;
}
.clinic .link-cmn {
  margin-bottom: 40px;
}

/*CLINIC*/

.outline tr:nth-child(odd) {
  background-color: #eee;
}
.outline__tit {
  width: 200px;
  padding: 20px;
}
.outline__txt {
  padding: 20px;
}
.history__tit {
  width: 200px;
  border-bottom: solid 1px var(--color01);
  padding: 20px;
}
.history__txt {
  border-bottom: solid 1px var(--color01);
  padding: 20px;
}

/*MEDICAL*/

.inspection__item {
  font-family: var(--font02);
  font-size: clamp(1.8rem,2.375vw,2rem);
  font-weight: 500;
  background-color: var(--color03);
  border-radius: 5px;
  padding: 15px;
  margin-bottom: 20px;
}

/* NEWS */

.pager a {
  color: var(--color01);
}
.anchor {
  background-color: var(--color03);
  padding: 40px 0;
}
.inner-wrap {
  display: block;
  table-layout: fixed;
  width: 100%;
  overflow: hidden;
}
.inner-wrap .blockLine {
  padding: 0;
  clear: both;
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
}
.inner-wrap .blockLine > .block {
  display: inline-block;
  width: 49%;
  padding: 0;
  margin: auto;
  float: left;
  margin-right: 2%;
  margin-bottom: 2%;
  text-align: left;
}
.inner-wrap .blockLine > .block p {
  text-align: left;
}
.inner-wrap .blockLine > .block figure {
  display: block;
  margin: auto;
}
.inner-wrap .blockLine > .block:first-child {
  margin-left: 0 !important;
}
.inner-wrap .blockLine > .block:last-child {
  margin-right: 0 !important;
}
.inner-wrap .blockLine.blocks_2 > .block {
  width: calc((100% - 2%) / 2);
}
.inner-wrap .blockLine.blocks_3 > .block {
  width: calc((100% - 4%) / 3);
}
.inner-wrap .blockLine.blocks_4 > .block {
  width: calc((100% - 6%) / 4);
}
.inner-wrap .blockLine.blocks_5 > .block {
  width: calc((100% - 8%) / 5);
}
.inner-wrap .blockLine.blocks_6 > .block {
  width: calc((100% - 10%) / 6);
}
.inner-wrap .blockLine.blocks_7 > .block {
  width: calc((100% - 12%) / 7);
}
.inner-wrap .blockLine.blocks_8 > .block {
  width: calc((100% - 14%) / 8);
}
.inner-wrap .blockLine.blocks_2 > .block:nth-child(2n) {
  margin-right: 0;
}
.inner-wrap .blockLine.blocks_3 > .block:nth-child(3n) {
  margin-right: 0;
}
.inner-wrap .blockLine.blocks_4 > .block:nth-child(4n) {
  margin-right: 0;
}
.inner-wrap .blockLine.blocks_5 > .block:nth-child(5n) {
  margin-right: 0;
}
.inner-wrap .blockLine.blocks_6 > .block:nth-child(6n) {
  margin-right: 0;
}
.inner-wrap .blockLine.blocks_7 > .block:nth-child(7n) {
  margin-right: 0;
}
.inner-wrap .blockLine.blocks_8 > .block:nth-child(8n) {
  margin-right: 0;
}

.inner-wrap .blockLine.vertical > .block {
  float: none;
  vertical-align: middle;
  position: relative;
}
.inner-wrap .blockLine.reversal > .block {
  float: right;
  position: relative;
}
.inner-wrap .blockLine .block.last + .block {
  margin-left: 0;
  clear: both;
}
.inner-wrap .blockLine.reversal > .block:first-child {
  margin-left: 2% !important;
  margin-right: 0;
}
.inner-wrap .blockLine.reversal > .block:last-child {
  margin-left: 0;
}

.blockLine > .block.wd10 {
  width: 9%;
}
.blockLine > .block.wd15 {
  width: 14%;
}
.blockLine > .block.wd20 {
  width: 19%;
}
.blockLine > .block.wd25 {
  width: 24%;
}
.blockLine > .block.wd30 {
  width: 29%;
}
.blockLine > .block.wd35 {
  width: 34%;
}
.blockLine > .block.wd40 {
  width: 39%;
}
.blockLine > .block.wd45 {
  width: 44%;
}
.blockLine > .block.wd50 {
  width: 49%;
}
.blockLine > .block.wd55 {
  width: 54%;
}
.blockLine > .block.wd60 {
  width: 59%;
}
.blockLine > .block.wd65 {
  width: 64%;
}
.blockLine > .block.wd70 {
  width: 69%;
}
.blockLine > .block.wd75 {
  width: 74%;
}
.blockLine > .block.wd80 {
  width: 79%;
}
.blockLine > .block.wd85 {
  width: 84%;
}
.blockLine > .block.wd90 {
  width: 89%;
}
.blockLine > .block.wd95 {
  width: 94%;
}
.blockLine > .block.wd100 {
  width: 99%;
}

@media (max-width: 767px) {
  .inner-wrap .blockLine:not(.fix) > .block {
    display: block;
    text-align: center;
    margin: 0 auto 15px;
    width: 100%;
    float: none;
  }
  .inner-wrap .blockLine:not(.fix) .wd10,
  .inner-wrap .blockLine:not(.fix) .wd20,
  .inner-wrap .blockLine:not(.fix) .wd30,
  .inner-wrap .blockLine:not(.fix) .wd40,
  .inner-wrap .blockLine:not(.fix) .wd60,
  .inner-wrap .blockLine:not(.fix) .wd70,
  .inner-wrap .blockLine:not(.fix) .wd80,
  .inner-wrap .blockLine:not(.fix) .wd90,
  .inner-wrap .blockLine:not(.fix) .wd15,
  .inner-wrap .blockLine:not(.fix) .wd25,
  .inner-wrap .blockLine:not(.fix) .wd35,
  .inner-wrap .blockLine:not(.fix) .wd45,
  .inner-wrap .blockLine:not(.fix) .wd65,
  .inner-wrap .blockLine:not(.fix) .wd75,
  .inner-wrap .blockLine:not(.fix) .wd85,
  .inner-wrap .blockLine:not(.fix) .wd95 {
    width: 100%;
  }
  .inner-wrap .blockLine:not(.fix).sp_2 > .block {
    display: inline-block;
    width: 49%;
    padding: 0;
    margin: auto;
    float: left;
    margin-top: 2%;
    text-align: left;
  }
  .inner-wrap .blockLine:not(.fix).sp_2 > .block:nth-child(even) {
    margin-left: 2%;
  }
  .inner-wrap .blockLine:not(.fix).sp_2 > .block:nth-child(odd) {
    clear: both;
  }
  .inner-wrap .blockLine.reversal > .block:first-child {
    margin-left: 0 !important;
  }
}

/* ==========================================================================
  PC 1025px -
========================================================================== */

@media screen and (min-width: 1025px) {
.medical {
  background: url("../images/cmn-images/bg01.jpg") 50% 0 no-repeat;
	background-attachment: fixed;
  background-size: cover;
  background-position: center;
  padding: 80px 0;
}
.clinic {
  background: url("../images/cmn-images/bg02.jpg") 50% 0 no-repeat;
	background-attachment: fixed;
  background-size: cover;
  background-position: center;
  padding: 80px 0;
}

}

@media screen and (max-width: 1200px) {
  /* 1200以下 */
}

/* ==========================================================================
  TABLET - 1024px
========================================================================== */

@media screen and (max-width: 1024px) {

.slick-track img {
  height: 50vh;
  width: 100%;
  object-fit: cover;
  border-radius: 0;
  padding:0;
}

.main-txt {
  width: 80%;
  padding: 30px 20px;
}

.medical {
  background: url("../images/cmn-images/bg01.jpg") 50% 0 no-repeat;
  background-size: 5000px;
  padding: 60px 0;
}
.clinic {
  background: url("../images/cmn-images/bg02.jpg") 50% 0 no-repeat;
  padding: 60px 0;
}
.clinic .link-cmn {
  margin-bottom: 20px;
}

/* NEWS */

.news-top .wrapper {
	display: block;
}
.news__box {
	width: 100%;
	margin-bottom: 30px;
}
.news__tit img {
	width: 40px;
}
.news__txt {
	padding-left: 0;
}
.newsContent dl {
	display: block;
  padding: 15px 0;
}
.newsContent dl:last-child {
	margin-bottom: 0;
}
.newsContent dl dt,
.newsContent dl dd {
	padding: 0;
}
.newsContent dl dt {
	width: 100%;
	margin-bottom: 10px;
}
}

/* ==========================================================================
  SP - 640px
========================================================================== */

@media screen and (max-width: 640px) {

.mainimage {
  margin-bottom: 5vh;
}
.main-txt {
  width: 90%;
  padding: 20px;
}

.medical {
  padding: 40px 0;
}
.clinic {
  padding: 40px 0;
}

/*CLINIC*/

.outline__tit {
  width: 100px;
  font-size: 1.4rem;
  padding: 15px;
}
.outline__txt {
  padding: 15px 15px 15px 0;
}
.history__tit {
  display: block;
  width: 100%;
  border-bottom: none;
  padding: 20px 20px 0 20px;
}
.history__txt {
  display: block;
  width: 100%;
  border-bottom: solid 1px var(--color01);
  padding: 10px 20px 20px 20px;
}


}
