@charset "utf-8";

/*====================================================================================================

  共通部分

====================================================================================================*/

.l-pgTtl h2 {
	background: url("../image/visual.jpg") no-repeat center bottom;
}

.not-top .center-cols{
	width: 100%;
	max-width: 1124px;
	margin: 0 auto 120px;
}

.first_visit-hdline{
	width: calc(100% - 100px);
	box-sizing: border-box;
	text-align: center;
	font-weight: 500;
	letter-spacing: .1ex;
	line-height: 1.2;
	margin: 0 auto 50px;
}

.first_visit-hdline .lr-line{
	position: relative;
}
.first_visit-hdline .lr-line::before{
	content: "";
	position: absolute;
	width: 30px;
	height: 1px;
	background-color: #0f9984;
	top: .75em;
	left: 0;
	-webkit-transform: translateX(-50px);
	transform: translateX(-50px);
}
.first_visit-hdline .lr-line::after{
	content: "";
	position: absolute;
	width: 30px;
	height: 1px;
	background-color: #0f9984;
	top: .75em;
	right: 0;
	-webkit-transform: translateX(50px);
	transform: translateX(50px);
}

.first_visit-gallery{
	display: grid;
}

@media screen and (min-width:641px) {
  .first_visit-gallery{
		margin: 40px 0 160px;
		grid-template-columns: repeat(2,1fr);
		grid-column-gap: 40px;
		grid-row-gap: 40px;
  }
}

@media screen and (max-width:640px) {
	.first_visit-gallery{
		margin: 40px 0 80px;
		grid-template-columns: repeat(1,1fr);
		grid-column-gap: 0px;
		grid-row-gap: 30px;
	}
	.first_visit-hdline {
		width: 100%;
		z-index: 1;
		text-align: center;
	}
	.first_visit-hdline::before {
		content: "";
		display: block;
		width: 40px;
		height: 4px;
		background-color: #0f9984;
		border-radius: 4px;
		margin: 12px auto;
	}
	.first_visit-hdline .lr-line{
		position: relative;
		display: inline-block;
	}
	.first_visit-hdline .lr-line::before,
	.first_visit-hdline .lr-line::after{
		display: none;
	}
}

.caution{
	font-weight: bold;
	color: #ef858c;
}

.infection-control-list{
	list-style: none;	
}
.img-cnt {
	 width:100%;
}
.txt-cnt {
	 width:100%;
}


/*====================================================================================================

  イントロ

====================================================================================================*/

.pg-intro {	
	text-align: center;
	padding-bottom: 60px;
	position: relative;
}

.pg-intro p {
	position: relative;
	top: 1em;
	line-height: 2;
	letter-spacing: .1ex;
}

.pg-intro .round-wrap {
  width: 300px;
  height: 300px;
	margin: 0 auto;
	position: absolute;
	z-index: -1;
	top: 0;
	left: calc(50% - 150px);
}
.pg-intro .rotate {
  width: 100%;
  height: 100%;
  animation: rotate-anime 30s linear infinite;
}
@keyframes rotate-anime {
    0%  {transform: rotate(0);}
  100%  {transform: rotate(-360deg);}
}
.pg-intro .round {
  width: 100%;
  height: 100%;
  border-radius: 90% 70% 80% 70% / 90% 70% 80% 70%;
  animation: round_anime3 5s linear infinite;
  background-color: #E2F8F4;
}
@keyframes round_anime {
    0% { border-radius: 90% 70% 80% 70% / 90% 70% 80% 70%;}
   25% { border-radius: 70% 90% 70% 80% / 70% 90% 70% 80%;}
   50% { border-radius: 80% 70% 90% 70% / 80% 70% 90% 70%;}
   75% { border-radius: 70% 80% 70% 90% / 70% 80% 70% 90%;}
  100% { border-radius: 90% 70% 80% 70% / 90% 70% 80% 70%;}
}

@media screen and (max-width:400px) {
	.pg-intro .round-wrap {
		width: 200px;
		height: 200px;
		left: calc(50% - 100px);
	}	
}


/*====================================================================================================

  院長あいさつ

====================================================================================================*/

.greeting-box {
	width: 100%;
	height: 720px;
	margin-bottom: 80px;
	position: relative;
}

.greeting-box .photo {
	position: absolute;
	right: 0;
	top: 0;
	z-index: 2;
	width: 40%;
	display: block;
	border: 1px solid #0f9984;
	box-shadow: -16px 16px 0 #94CCC4;
}
.greeting-box .desc {
	position: absolute;
	left: 0;
	top: 32px;
	width: calc(100% - 32px);
	box-sizing: border-box;
	padding: 36px;
	border: 1px solid #94CCC4;
}
.greeting-box .desc .name {
	margin-bottom: 1em;
}
.greeting-box .desc dl {
	margin-bottom: 1em;
}
.greeting-box .desc dl:last-of-type {
	margin-bottom: 0;
}
.greeting-box .desc dt {
	font-size: 112.5%;
	font-weight: bold;
}
.greeting-box .desc dd p {
	display: table;
}
.greeting-box .desc dd p .date {
	display: table-cell;
	width: 7em;
}
.greeting-box .desc ul {
	list-style: none;
}

@media screen and (max-width:700px) {
	.greeting-box {
		display: block;
		height: auto;
		position: static;
	}
	.greeting-box .photo {
		position: static;
		z-index: 1;
		width: 100%;
		max-width: 400px;
		margin: 0 auto -44px;
	}
	.greeting-box .desc {
		position: static;
		width: 100%;
		box-shadow: none;
		padding-top: 80px;
	}
}
@media screen and (max-width:500px) {
	.greeting-box .photo {
		max-width: 300px;
	}
}
@media screen and (max-width:400px) {
	.greeting-box .photo {
		max-width: 240px;
	}
	.greeting-box .desc dd p {
		display: block;
		margin-top: .75em;
	}
	.greeting-box .desc dd p .date {
		display: block;
		font-weight: bold;
	}
}


/*====================================================================================================

  ご来院の前にお読みください

====================================================================================================*/

.policy dt{
	text-align: center;
	font-weight: 300;
	padding:15px 0;
	background-color: #E2F8F4;
}

@media screen and (min-width:701px) {
	.policy {
		margin-bottom: 80px;
	}
	.policy dt{
		font-size: 2.0rem;
		margin-bottom: 20px;
	}

	.policy .flex {
		display: flex;
		justify-content: space-between;
	}
	.policy .flex-p {
		width: calc(55% - 12px);
	}
	.policy .flex-img {
		width: calc(45% - 12px);
	}
}

@media screen and (max-width:700px) {
	.policy {
		margin-bottom: 60px;
	}
	.policy .flex {
		display: block;
	}
	.flex-p{
		margin: 24px 0;
	}
	.flex-img{
		width: 100%;
		max-width: 460px;
		margin: 0 auto;
	}
}


/*====================================================================================================

  院内・器材紹介

====================================================================================================*/

.facility {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin-bottom: -36px;
	padding-bottom: 90px;
}
.facility.pdb-none{
	padding-bottom: 0px;
}
.facility figure {
	display: block;
	width: calc(33.33% - 24px);
	margin-right: 36px;
	margin-bottom: 36px;
}
.facility figure:nth-child(3n) {
	margin-right: 0;
}
.facility figcaption {
	display: block;
	margin: 0.25em 0 0;
	color: #888;
	font-size: 87.5%;
}
@media screen and (max-width:700px) {
	.facility figure {
		width: calc(50% - 18px);
	}
	.facility figure:nth-child(3n) {
		margin-right: 36px;
	}
	.facility figure:nth-child(even) {
		margin-right: 0;
	}
}
@media screen and (max-width:420px) {
	.facility figure {
		width: 100%;
		margin-right: 0;
	}
	.facility figure:nth-child(3n) {
		margin-right: 0;
	}
}


/*====================================================================================================

  当院でできる治療

====================================================================================================*/

.clinical {
	display: flex;
	justify-content: center;
}

.clinical .clinical-box {
	display: block;
	width: calc(33.33% - 24px);
	margin-right: 36px;
	margin-bottom: 36px;
	padding: 24px;
	box-sizing: border-box;
	background-color: #E2F8F4;
	text-align: center;
}
.clinical .clinical-box:nth-child(3n) {
	margin-right: 0;
}

.clinical .clinical-icon {
	width: 120px;
	height: 120px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #fff;
	text-align: center;
	margin: 0 auto 1em;
}

.clinical h3 {
	font-size: 112.5%;
}
.clinical p {
	font-size: 87.5%;
}

@media screen and (max-width:700px) {
	.clinical {
		flex-wrap: wrap;
	}
	.clinical .clinical-box {
		width: calc(50% - 18px);
	}
	.clinical .clinical-box:nth-child(3n) {
		margin-right: 36px;
	}
	.clinical .clinical-box:nth-child(even) {
		margin-right: 0;
	}
}
@media screen and (max-width:420px) {
	.clinical .clinical-box {
		width: 100%;
		margin-right: 0;
	}
	.clinical .clinical-box:nth-child(3n) {
		margin-right: 0;
	}
}


.btn--blue,
a.btn--blue {
  color: #fff;
  background-color: #5DA9E9;
  text-decoration: none;
  padding: 10px 20px;
}
.btn--blue:hover,
a.btn--blue:hover {
  color: #fff;
  background: #01BAEF;
  text-decoration:underline;
}

