/*------------------------------------------

	ヘッダー

------------------------------------------*/
#site-header {
	width: 100%;
	top: 0;
	left: 0;
	position: absolute;
	transition: .6s;
	z-index: 1;
}

.gnav-box .gnav {
    width: calc(100% - 250px);
    padding: 0;
    margin-right: auto;
}

.gnav-box .gnav li:first-of-type {
	border-left: 0;
}
.gnav-box .gnav li#menu-item-241 {
	border-right: 0;
}

.gnav-box .inr .logo {
	position: absolute;
	top: -11px;
	left: 0;
}

/*PC*/
@media screen and (min-width: 768px) {
	#site-header {
		width: 100%;
		position: inherit;
		top: -100px;
		left: 0;
		transition: .3s;
	}
	.hed-fix #site-header {
		position: fixed;
		top: 0;
		z-index: 99;
	}
	body.hed-fix {
		margin-top: 80.31px;
	}

	.gnav-box .inr {
		max-width: 1230px;
		position: relative;
		padding-left: 170px;
	}
}/*END*/


/*Smartphone*/
@media screen and (max-width: 767px) {
	.gnav-box .gnav {
	    width: 100%;
	}
}


/*------------------------------------------

MV

------------------------------------------*/
.mv-box {
/*	background-image: url(../images/home/pc_mv.jpg);
	background-size: cover;
	background-position: center;
	padding: 215px 0 180px;
	position: relative;
	overflow: hidden;*/
	padding: 0 0 0 0;

}

.mv-box img {
	width: 100%;
}

.mv-box .mv_txt {
	width: 69.2708333333%;
	max-width: 665px;
	height: auto;
}

.mv-box h1 {
    font-size: 2.8rem;
    font-weight: lighter;
    text-shadow: 1px 1px 0px rgba(255,255,255,1);
    line-height: 2;
}
.mv-box .deco {
    font-size: 1.15em;
	color: #fff;
	font-weight: normal;
    text-shadow: 1px 1px 0px rgba(129,164,228,1);
    display: inline-block;
    padding: 0 25px;
    position: relative;
}
.mv-box .deco::after {
    content: "";
    width: 328px;
    height: 50px;
	background-image: url(../images/common/h1.png);
    background-size: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%);
    z-index: -1;
    padding: 0 50px;
    margin-top: -25px;
}
.mv-box .min {
	font-size: .78em;
	line-height: 1.5;
	display: inline-block;
}

/*PC*/
@media screen and (min-width: 768px) {
}/*END*/

/*Smartphone*/
@media screen and (max-width: 767px) {
	.mv-box {
		padding: 0 0;
	}

	.mv-box h1 {
		font-size: 2.0rem;
		line-height: 2;
	}
	.mv-box .deco {
		line-height: 1;
		padding: 0;
		margin: 0;
	}
	.mv-box .deco::after {
		width: 250px;
		height: 39px;
		padding: 0;
		margin-top: -22px;
	}
	.mv-box .min {
		font-size: .78em;
		line-height: 1.5;
		display: inline-block;
	}
}/*END*/


/*------------------------------------------

ABOUT

------------------------------------------*/
.top-about {
	padding-top: 120px;
	padding-bottom: 230px;
	background-image: url(../images/home/about_bg.jpg);
	background-size: cover;
	background-position: center bottom;
}

/*PC*/
@media screen and (min-width: 768px) {
}/*END*/

/*Smartphone*/
@media screen and (max-width: 767px) {
	.top-about {
		padding-top: 40px;
		padding-bottom: 40px;
	}

	.top-about ul li {
		max-width: 100%;
	}

	.top-about ul .tit {
		font-size: 2.0rem;
	}

	.top-about ul .txt {
		font-size: 1.6rem;
		line-height: 1.7;
	}
}/*END*/


/*------------------------------------------

Vision

------------------------------------------*/
.vision-inr .tit {
	font-weight: lighter;
	color: #486bb4;
}

/*PC*/
@media screen and (min-width: 768px) {
	.vision-inr .tit,
	.vision-inr .txt {
		display: inline-block;
	}

	.vision-inr {
		width: 50%;
		max-width: 500px;
	}
	.vision-inr.txt-box {
		padding-left: 30px;
	}
}/*END*/

/*Smartphone*/
@media screen and (max-width: 767px) {
}/*END*/


/*------------------------------------------

clinic

------------------------------------------*/
.clinic-slide-wrapper {
  overflow: hidden;
  width: 100%;
}

.clinic-slide-track {
  display: flex;
  animation: scroll-left 60s linear infinite;
  width: max-content;
}

.clinic-slide-item {
  flex: 0 0 auto;
  width: 300px; /* 幅は任意に調整 */
  margin-right: 50px;
}
.clinic-slide-item .img-box {
	margin-bottom: 15px;
}
.clinic-slide-item h4 {
	font-weight: normal;
	font-size: 2.2rem;
	line-height: 1.3;
	color: #222222;
	margin-bottom: 10px!important;
}

.clinic-slide-item .kamoku{
	color: #333333;
    font-size: 0.8em;
	line-height: 1.3!important;
	padding: 7px;
	background: #f5f5f5;
}

.clinic-slide-item .cat {
	background-color: #fff15a;
	display: inline-block;
    padding: 2px 8px;
    margin-right: 10px;
    font-size: 0.9em;
}

.clinic-slide-item  .address {
	font-size: 0.9em;
	line-height: 1.3 !important;
}

.clinic-slide-item  .staff {
	display: none;
	font-size: 0.9em;
	line-height: 1.2 !important;
}

.clinic-slide-item  .staff span {
	color: #127c48;
}

.clinic-slide-item a {
	color: #238c2d;
	text-decoration: underline;
}

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* スマホ表示ではアニメーションスピードを速くする */
@media screen and (max-width: 768px) {
  .clinic-slide-track {
    animation: scroll-left 30s linear infinite; /* 30秒で1周（速く） */
  }

  .clinic-slide-item {
    width: 240px; /* モバイルで少し幅を小さくして調整してもOK */
    margin-right: 20px;
  }
  .clinic-slide-item h4 {
      font-size: 2.0rem;
  }
	
  .clinic-slide-item .cat {
        padding: 3px 7px;
        font-size: 0.8em;
  }

  .clinic-slide-item  .staff {
      font-size: 0.8em;
  }

}



/*------------------------------------------

NEWS

------------------------------------------*/
.top-news {
	background-color: #f9f9f9;
	padding: 50px 0;
}

.top-news .post-box {
	background-color: #fff;
	padding: 50px 100px;
}

.top-news time {
	font-size: 1.6rem;
	color: #363636;
}

.top-news .cat {
	font-size: 1.4rem;
	background-color: #fff15a;
	padding: 1px 10px;
	margin-left: 15px;
}
.top-news .cat a {
	font-size: 1.4rem;
	background-color: #fff15a;
	padding: 1px 10px;
	margin-left: 15px;
}

.top-news .tit {
	font-size: 1.6rem;
	font-weight: normal;
	color: #363636;
	margin-left: 15px;
}

.top-news .post-box .mb30:last-of-type {
	margin-block: 0;
}

/*PC*/
@media screen and (min-width: 768px) {
	.top-news a {
		border-bottom:0;
		position: relative;
	}
	.top-news a::after {
		content: "";
		width: calc(100% + 10px);
		height: calc(100% + 10px);
		background: none;
		padding: 0.5em;
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%,-50%);
		z-index: -1;
		transition: .3s;
	}
	.top-news .post-box a:hover::after {
		background: rgba(58,159,244,.1);
	}
}/*END*/

/*Smartphone*/
@media screen and (max-width: 767px) {
	.top-news .post-box {
		padding: 30px 5%;
	}

	.top-news .tit {
		width: 100%;
		font-size: 1.6rem;
		font-weight: normal;
		color: #363636;
		margin-top: 5px;
		margin-left: 0;
	}
}/*END*/


/*------------------------------------------

フッターバナー

------------------------------------------*/
.footer_bnr_box .inr {
	max-width: 1000px;
}

.footer_bnr_box .box {
	width: 49%;
}

/*PC*/
@media screen and (min-width: 768px) {
}/*END*/

/*Smartphone*/
@media screen and (max-width: 767px) {
	.footer_bnr_box .box {
		width: 100%;
	}
}/*END*/
