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

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

.mainslider {
  clear: both;
  position: relative;
  overflow: hidden;
  width: 98%;
  max-width: 1500px;
  margin: 0 auto 6vh auto;
}
.slider {
	position: relative;
	width: 100%;
	left: 50%;
  line-height: 0;
  font-size: 0;
	margin: 0 auto 0 -50%;
}
.slick-slide img {
	width: 100%;
  border-radius: 10px;
}
.mainslider__txt {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: 5%;
  font-family: var(--font01);
  font-weight: 500;
  text-align: left;
}
.mainslider__tit {
	display: inline-block;
  color: var(--color01);
  font-size: clamp(2rem,4.5vw,3.9rem);
  font-weight: 400;
	letter-spacing: 0;
	line-height: 100%;
	background-color: #fff;
	padding: 10px;
  margin-bottom: 20px;
}
.mainslider__tit span {
  font-size: 150%;
}
.mainslider__txt p {
	display: inline-block;
	color: var(--color01);
  font-size: clamp(1.5rem,2.375vw,2.8rem);
	line-height: 100%;
	background-color: #fff;
	padding: 10px;
}

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

/* TOP */

.top-news .wrapper {
	display: flex;
}
.top-news__tit {
	width: 400px;
}
.top-news__tit h2 {
	margin-bottom: 60px;
}
.top-news__content {
	flex: 1;
}
.newsContent dl {
  width: 100%;
  display: flex;
  color: #454545;
}
.newsContent dl dt,
.newsContent dl dd {
  padding: 15px 0;
  display: block;
  text-align: left;
}
.newsContent dl dt {
  width: 150px;
}
.newsContent dl dd {
  flex: 1;
  position: relative;
}

.feature {
	background: url("../images/cmn-images/bg01.jpg") 0 50% no-repeat;
	padding: 50px 0;
}
.feature .media {
	align-items: center;
	margin-bottom: 40px;
}
.feature .media:last-child {
	margin-bottom: 0;
}
.feature__inner {
	background-color: #fff;
	border-radius: 10px;
	padding: 60px 30px 30px 30px;
	margin-top: -30px;
}
.feature__number {
	color: #a1e36c;
	font-family: var(--font02);
	font-size: 7.2rem;font-style: italic;
	font-weight: 900;
	line-height: 100%;
	margin: 0 0 0 20px;
}
.feature .media__body h3 {
	background-color: #fff!important;
	padding: 0;
}

.medical {
	background: url("../images/cmn-images/bg02.jpg") 50% 0 no-repeat;
	padding: 250px 0 0 0;
}
.medical .wrapper {
	background-color: #fff;
	border-radius:  10px 10px 0 0;
	padding: 50px 40px;
}
.medical-list__item {
	margin-bottom: 20px;
}
.medical-list__inner {
  box-shadow: 0 0 10px rgba(99, 199, 19, 0.5);
	border-radius: 10px;
	padding: 40px 0 60px 0;
}
.medical-list__inner img {
	display: block;
	width: 50%;
	margin: 0 auto;
}
a.medical-list__bt {
	display: block;
	width: 90%;
	color: #fff;
	font-family: var(--font01);
	font-size: 1.5rem;
	font-weight: 500;
	letter-spacing: 0;
	text-align: center;
	background: linear-gradient(
		90deg,
		#9edd21 0%,
		#7fd61a 45%,
		#55b206 100%
	);
	background-size: 200% 100%;
	background-position: left center;
	border-radius: 80px;
	padding: 15px 0;
	margin: -20px auto 0 auto;
	transition: background-position 0.4s ease;
}

a.medical-list__bt:hover {
	background-position: right center;
}
a.medical-list__bt::before {
	content: "\f138";
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	margin-right: 5px;
}

.beginner {
	margin-bottom: 40px;
}
.beginner:last-child {
	margin-bottom: 0;
}
.beginner__tit {
	font-family: var(--font01);
	font-size: 2.3rem;
	font-weight: 500;
	margin-bottom: 20px;
}
.beginner__tit::before {
	content: "\f00c";
	color: var(--color02);
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	margin-right: 10px;
}

/*CLINIC*/

.outline__tit {
  width: 150px;
  border-top: dashed 1px #ccc;
  border-bottom: dashed 1px #ccc;
  padding: 15px 20px;
}
.outline__txt {
  border-top: dashed 1px #ccc;
  border-bottom: dashed 1px #ccc;
  padding: 15px 20px;
}
.doctor__img img {
  display: block;
  margin-bottom: 20px;
}
.doctor__name {
  font-family: var(--font01);
  font-size: 2rem;
  font-weight: 500;
  line-height: 120%;
}
.doctor__name span {
  font-size: 1.4rem;
}

/*MEDICAL*/

.first__img {
  display: block;
  margin-bottom: 20px;
}
.first-detail__tit {
  color: var(--color01);
  font-family: var(--font01);
  font-size: clamp(1.8rem,2.375vw,2rem);
  font-weight: 500;
  margin-bottom: 20px;
}
.medical-img {
  display: block;
  margin-bottom: 30px;
}

/*GASTRO*/

.accordion__tit {
  position: relative;
  cursor: pointer;
  color: #fff;
  font-family: var(--font01);
  font-size: 2.2rem;
  font-weight: 500;
  background-color: var(--color01);
  border-radius: 5px 5px 0 0;
  padding: 20px 70px 20px 20px;
}

/* プラス・マイナスの丸 */
.accordion__tit::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  width: 34px;
  height: 34px;
  border: 2px solid #fff;
  border-radius: 50%;
  transform: translateY(-50%);
  box-sizing: border-box;
}

/* 横線・縦線共通 */
.accordion__tit::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 29px;
  width: 16px;
  height: 2px;
  background-color: #fff;
  border-radius: 999px;
  transform: translateY(-50%);
}

/* 縦線用 */
.accordion__tit span.icon-line {
  position: absolute;
  top: 50%;
  right: 36px;
  width: 2px;
  height: 16px;
  background-color: #fff;
  border-radius: 999px;
  transform: translateY(-50%) scaleY(1);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* 初期非表示 */
.accordion__txt {
  display: none;
  background-color: #e8f4df;
  border-radius: 0 0 5px 5px;
  padding: 40px;
}

/* 開いた時、縦線を消してマイナスにする */
.accordion__tit.active span.icon-line {
  transform: translateY(-50%) scaleY(0);
  opacity: 0;
}
.accordion__txt {
  background-color: #e8f4df;
  border-radius: 0 0 5px 5px;
  padding: 40px;
}
.flow {
  display: flex;
  font-size: 1.8rem;
  background-color: #fff;
  border-radius: 5px;
  padding: 20px;
  margin-bottom: 5px;
}
.flow__number {
  width: 50px;
  font-family: var(--font02);
  font-weight: 900;
}
.flow__txt {
  flex: 1;
  font-family: var(--font01);
  font-weight: 500;
}
.flow__arrow {
  color: var(--color02);
  font-size: 4rem;
  text-align: center;
  line-height: 100%;
  margin-bottom: 5px;
}

/**/

.equipment__item {
  color: var(--color01);
  font-family: var(--font01);
  font-weight: 500;
  text-align: center;
}
.equipment__item img {
  display: block;
  margin-bottom: 10px;
}

/* 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) {
  .mainslider__txt {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translatey(-50%);
  }
}

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

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

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

.top-news__inner dl:nth-child(4) {
  display: none;
}
.top-news__inner dl:nth-child(5) {
  display: none;
}
.mainslider-wrapper {
  background-color: var(--color04);
  padding: 30px 0;
  margin-bottom: 6vh;
}
.mainslider {
  width: 100%;
}
.slider {
	width: 140%;
	margin: 0 auto 0 -70%;
}
.slick-slide img {
  border-radius: 0;
}
.mainslider__txt {
  bottom: 10px!important;
  left: 10px;
}
  
.top-news .wrapper {
	display: block;
}
.top-news__tit {
	width: 100%;
}
.top-news__tit h2 {
	margin-bottom: 30px;
}


.medical {
	padding: 150px 0 0 0;
	margin-bottom: -10px;
}
.medical .wrapper {
	padding: 40px 20px;
}

.medical .grid--4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr)!important;
  gap: 0 3%!important;
}
.medical-list__inner img {
	width: 40%;
}

a.medical-list__bt {
	width: 85%;
}

a.medical-list__bt:hover {
	background-position: right center;
}
a.medical-list__bt::before {
	content: "\f138";
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	margin-right: 5px;
}

/* 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;
	margin-bottom: 20px;
}
.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) {

.mainslider {
  margin: 0 auto 4vh auto;
}
.mainslider__tit {
  padding: 10px;
  margin-bottom: 15px;
}
.mainslider__txt p {
  padding: 10px;
}

/* TOP */

.feature {
	background: url("../images/cmn-images/bg01.jpg") 0 50% no-repeat;
	background-size: 5000px;
	padding: 40px 0;
}
.feature .media {
	margin-bottom: 30px;
}
.feature .media__body {
	margin-bottom: 0!important;
}
.feature .media__figure {
	width: 90%;
	margin: -30px auto 0 auto!important;
}
.feature__inner {
	padding: 40px 20px 40px 20px;
	margin: -20px auto 0 auto;
}
.feature__number {
	font-size: 4.5rem;
	margin: 0 0 0 15px;
}

.medical {
	padding: 100px 0 0 0;
	margin-bottom: -10px;
}
.medical .wrapper {
	padding: 30px 20px;
}
.medical-list__inner {
	padding: 30px 0 40px 0;
}
.medical-list__inner img {
	width: 30%;
}

.medical .grid--4 {
  grid-template-columns: 1fr!important;
  gap: 5px!important;
}

.beginner {
	margin-bottom: 30px;
}
.beginner__tit {
	font-size: 1.8rem;
}

/*CLINIC*/

.outline__tit {
  width: 100px;
  padding: 10px;
}
.outline__txt {
  padding: 10px;
}
.doctor__img {
  text-align: center;
}
.doctor__img img {
  width: 60%;
  margin: 0 auto 10px auto;
}
.doctor__name {
  display: inline-block;
  font-size: 1.8rem;
  text-align: left;
}
.doctor__name span {
  font-size: 1.2rem;
}

}
