@charset "utf-8";
/* -----------------------------
 first-visit.css
----------------------------- */

body { width: 100%; }


/* -------------------------------------- mainimg -------------------------------------- */

#mainimg {
	position: relative;

	padding-top: 150px;
	width: 100%;
}

/* positionリセット */
#mainimg > div:first-of-type {
	position: relative;
	top: 52%;
}

#mainimg img {
	width: 100%;
	height: auto;
}

#mainimg h2 {
	position: absolute;
	top: 52%;
	left: 50%;
	transform: translateX(-50%);

	font-size: 3vw;
	color: #FFFFFF;
}



/* -------------------------------------- section -------------------------------------- */
#reserve,
#hosVisit,
#medCertificate {
	position: relative;
}

#reserve::before,
#hosVisit::before,
#medCertificate::before {
	position: absolute;

	background-color: #65BACF;
	border-radius: 50px;

	text-align: center;
	line-height: 95px;
	font-size: 3vw;

	color: #FFFFFF;
}


/* -------------------------------------- reserve -------------------------------------- */
/* 左右border付文言 */
#reserve> div:first-of-type > div > div:first-of-type {
	display: flex;
	justify-content: center;

	margin-bottom: 30px;
}

/* 診察日・時間表 */
#reserve > div:last-of-type > div:first-of-type > ul:last-of-type {
	margin-bottom: 20px;
}

#reserve > div:last-of-type ul ul {
	display: flex;

	border-bottom: 2px solid #423f3f;
}

#reserve > div:last-of-type ul ul li {
	width: 11%;

	text-align: center;
	font-size: 1.2vw;
}

#reserve > div:last-of-type ul ul li:first-of-type {
	width: 22%;
}

#reserve > div:last-of-type > div:first-of-type p {
	text-align-last: justify;
	text-justify: inter-ideograph;
}

/* ボタン */
#reserve .wrapBtn {
	display: flex;
	flex-wrap: wrap;
}

/* ボタン：アクセス */
#reserve .wrapBtn .access,
#reserve .wrapBtn .web     {
	margin-bottom: 10px;
	width: 50%;
}

#reserve .wrapBtn .access a {
	display: flex;
	justify-content: center;
	align-items: center;

	margin-left: 4%;
	padding: 8% 3%;
	width: 97%;
	background-color: #65BACF;

	letter-spacing: 2px;
	font-size: 1.5vw;
	color: #FFFFFF;
}

#reserve .wrapBtn .access img {
	margin-right: 10px;
	width: auto;
}

/* ボタン：web予約 */
#reserve .wrapBtn .web a {
	display: flex;
	justify-content: center;
	align-items: center;

	margin-left: 4%;
	padding: 8% 3%;
	width: 96%;

	letter-spacing: 2px;
	color: #FFFFFF;
	background-color: #017A97;
}

#reserve .wrapBtn .web img {
	margin-right: 10px;
	width: auto;
}

#reserve .wrapBtn .web p:first-of-type {
	margin-bottom: 5px;
}

/* ボタン：電話番号 */
#reserve .wrapBtn .telB > a {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;

	margin-left: 2%;
	background-color: #D5ECF2;
	border-radius: 15px;
	border: 2px solid #65B9CF;
}

#reserve .wrapBtn .telB img {
	margin-right: 0.5vw;
	width: auto;
}

#reserve .wrapBtn .telB a div {
	display: flex;
	justify-content: center;

	width: 100%;

	color: #017896;
}


/* -------------------------------------- hosVisit -------------------------------------- */
#hosVisit::before {
	content: '2';
}

/* items01 */
#hosVisit > div:first-of-type h3 {
	margin-bottom: 15px;
} 

#hosVisit > div:first-of-type .items01 {
	margin-bottom: 40px;
}

#hosVisit > div:first-of-type div p,
#hosVisit > div:first-of-type > p:last-of-type {
	line-height: 150%;
}

/* 以下をお持ちの方は～ */
#hosVisit > div:first-of-type > p:last-of-type {
	margin-bottom: 15px;
	padding-left: 0;
}

/* 丸 */
#hosVisit > div:first-of-type div p.dot {
	position: relative;

	padding-left: 5vw;
	font-size: 1.5vw;
}

#hosVisit > div:first-of-type .items01 p.dot { margin: 10px 0px; }

#hosVisit > div:first-of-type div p.dot::before {
	content: '';
	display: block;
	position: absolute;
	top: 50%;
	left: 1.6vw;
	transform: translateY(-50%);

	background-color: #5FB3BE;
}

#hosVisit .dot span { font-size: 1.1vw; }

#hosVisit > div:first-of-type .items01 p:first-of-type {
	margin-top: 0;
}

/* items02 */
#hosVisit > div:first-of-type .items02 p {
	line-height: 200%;
}

#hosVisit > div:first-of-type .items02 p:nth-of-type(2) {
	margin-bottom: 45px;
}


/* 画像 */
#hosVisit > div:last-of-type img {
	width: 100%;
	height: auto;
}


/* -------------------------------------- medCertificate -------------------------------------- */
#medCertificate::before {
	content: '3';
}

/* 先頭文 */
#medCertificate > div:first-of-type p {
	width: 95%;

    line-height: 200%;
    font-size: 1.3vw;
}

/* 画像 */
#medCertificate > div:last-of-type img {
	width: 100%;
	height: auto;
}


/* -------------------------------------- info -------------------------------------- */
/* h2 */
#info h2 {
	padding-bottom: 20px;
	width: 90%;
	border-bottom: 2px solid #423f3f;

	text-align: center;
}

/* リスト */
#info ul {
	width: fit-content;
}

#info li {
	position: relative;
}

.iDot::before {
	content: '';
	display: block;
	position: absolute;
	left: 0;

	background-color: #5FB3BE;
}

/* 最後の文 */
#info > p {
	margin: 0px auto;

	line-height: 200%;
}



/* -------------------------------------- footer -------------------------------------- */

footer {
	background-color: #A9907A;
	text-align: center;
	letter-spacing: 1px;
	color: #FFFFFF;
}

footer .fMenu li a { display: block; }

footer > p {
	padding-bottom: 30px;

	font-size: medium;
}






/* -----------------------------
 PC
----------------------------- */
@media screen and (min-width:1000px) {

	.spOnly { display: none; }


/* -------------------------------------- section -------------------------------------- */
#reserve,
#hosVisit,
#medCertificate {
	margin: 0px 10% 200px;
	padding-left: 11vw;
	width: 80%;
}

#reserve::before,
#hosVisit::before,
#medCertificate::before {
	top: 0;
	left: 0;

	width: 100px;
	height: 100px;

	line-height: 95px;
	font-size: 3vw;
}

/* -------------------------------------- reserve -------------------------------------- */
	#reserve::before {
		content: '1';
	}

	#reserve > div {
		display: flex;
	}

	#reserve > div:first-of-type > div {
		margin-bottom: 20px;
		width: 50%;
	}

	#reserve h2 {
		width: 100%;
		height: 100px;

		line-height: 100px;
		font-size: 2.5vw;
	}

	/* 最初の文言 */
	#reserve> div:first-of-type > div > div:first-of-type div {
		border-left: 3px solid #423f3f;
	}

	#reserve> div:first-of-type > div > div:first-of-type div:last-of-type {
		border-right: 3px solid #423f3f;
	}

	#reserve> div:first-of-type > div > p  {
		margin-bottom: 20px;
		font-size: 1.2vw;
	}

	#reserve> div:first-of-type > div > p:last-of-type  { margin-bottom: 30px; }

	/* 左右border付文言 */
	#reserve> div:first-of-type > div > div:first-of-type p {
		padding: 10px 40px;

		text-align: center;
		font-size: 1.2vw;
	}

	/* 説明文 */
	#reserve> div:first-of-type > div > div:last-of-type p {
		width: 95%;

		line-height: 180%;
		font-size: 1vw;
	}

	/* 画像 */
	#reserve > div:first-of-type img {
		margin-top: 20px;
		width: 100%;
		height: auto;
	}

	/* 診察日・時間表 */
	#reserve > div:last-of-type > div:first-of-type {
		width: 60%;
	}

	#reserve > div:last-of-type > div:first-of-type > ul:last-of-type {
		margin-bottom: 20px;
	}

	#reserve > div:last-of-type ul ul {
		display: flex;

		border-bottom: 2px solid #423f3f;
	}

	#reserve > div:last-of-type ul ul li {
		padding: 20px 0px;
		font-size: 1vw;
	}

	#reserve > div:last-of-type ul ul li:first-of-type {
		width: 22%;
	}

	#reserve > div:last-of-type > div:first-of-type p {
		font-size: 1.2vw;
	}

	/* ボタン */
	#reserve .wrapBtn {
		width: 40%;
	}

	/* ボタン：アクセス */
	#reserve .wrapBtn .access,
	#reserve .wrapBtn .web     {
		margin-bottom: 10px;
		width: 50%;
	}

	#reserve .wrapBtn .access a {
		height: 6vw;
		border-radius: 15px;
	}

	#reserve .wrapBtn .access img {
		height: 2vw;
	}

	/* ボタン：web予約 */
	#reserve .wrapBtn .web a {
		height: 6vw;
		border-radius: 15px;
	}

	#reserve .wrapBtn .web img {
		height: 50px;
	}

	#reserve .wrapBtn .web p:first-of-type {
		font-size: 1.5vw;
	}

	#reserve .wrapBtn .web p:last-of-type {	font-size: 1vw; }

	/* ボタン：電話番号 */
	#reserve .wrapBtn .telB > a {
		padding: 30px 0px;
		width: 98%;
	}

	#reserve .wrapBtn .telB img {
		height: 2.5vw;
	}

	#reserve .wrapBtn .telB a div {
		display: flex;
		justify-content: center;
		align-items: end;

		margin-bottom: 0.5vw;
		width: 90%;

		color: #017896;
	}

	#reserve .wrapBtn .telB a div p {
		font-size: 2vw;
		font-weight: bold;
	}

	#reserve .wrapBtn .telB a > p {
		width: 80%;

		text-align: center;
		font-size: 0.9vw;
	}


/* -------------------------------------- hosVisit -------------------------------------- */
	#hosVisit {
		display: flex;
	}

	#hosVisit > div { width: 50%; }


	#hosVisit h2 {
		width: 100%;
		height: 100px;

		line-height: 100px;
		font-size: 2.5vw;
	}

	/* 最初の文言 */
	#hosVisit > div:first-of-type > p:first-of-type {
		line-height: 200%;
		font-size: 1.3vw;
	}

	#hosVisit > div:first-of-type > p:nth-of-type(2)  {
		margin-bottom: 60px;
		font-size: 1vw;
	}

	/* 丸 */
	#hosVisit > div:first-of-type div p.dot {
		padding-left: 4vw;
		font-size: 1.5vw;
	}

	#hosVisit > div:first-of-type div p.dot::before {
		width: 1vw;
		height: 1vw;
		border-radius: 0.5vw;
	}

	/* items01 */
	#hosVisit > div:first-of-type h3 {
		font-size: 1.5vw;
	}

	#hosVisit > div:first-of-type div p,
	#hosVisit > div:first-of-type > p:last-of-type {
		padding-left: 4vw;
		font-size: 1.2vw;
	}

	/* items02 */
	#hosVisit > div:first-of-type .items02 p span { margin-left: 15px; }


/* -------------------------------------- medCertificate -------------------------------------- */
	#medCertificate {
		display: flex;
	}

	#medCertificate > div { width: 50%; }

	/* h2 */
	#medCertificate h2 {
		margin-bottom: 30px;

		line-height: 100px;
		font-size: 3vw;
	}


/* -------------------------------------- info -------------------------------------- */
	/* h2 */
	#info h2 {
		margin: 0px 5% 50px;
		font-size: 2vw;
	}

	/* リスト */
	#info ul {
		margin: 0px auto 100px;
		font-size: 1.3vw;
	}

	#info li {
		padding-left: 2.5vw;
	}

	.iDot::before {
		top: 0;

		width: 1vw;
		height: 1vw;
		border-radius: 0.5vw;
	}

	#info li p {
		margin-bottom: 25px;

		font-size: 1vw;
	}

	/* 最後の文 */
	#info > p {
		width: 80%;

		font-size: 1vw;
	}




}









/* -----------------------------
 SP
----------------------------- */
@media screen and (max-width:999px) {

	.pcOnly { display: none; }

/* -------------------------------------- article -------------------------------------- */

	article { overflow: hidden; }


/* -------------------------------------- mainimg -------------------------------------- */
	#mainimg {
		padding-top: 90px;
	}

	#mainimg img {
		width: 120%;
		height: auto;
	}

	#mainimg h2 {
		top: calc(27% + 90px);
	}


/* -------------------------------------- section -------------------------------------- */
	/* 各sectionの丸番号 */
	#reserve,
	#hosVisit,
	#medCertificate {
		position: relative;

		margin-bottom: 30vw;
		padding: 0px 7%;
	}

	#reserve::before,
	#hosVisit::before,
	#medCertificate::before {
		top: 56vw;
		left: 50%;
		right: 50%;
		transform: translateX(-50%);

		width: 15vw;
		height: 15vw;

		line-height: 15vw;
		font-size: 6vw;
	}

	/* 並び順制御 */
	#reserve > div:first-of-type,
	#hosVisit,
	#medCertificate {
		display: flex;
		flex-direction: column-reverse;
	}

	#reserve        > div:first-of-type > div:last-of-type,
	#hosVisit       > div:last-of-type,
	#medCertificate > div:last-of-type {
		margin-bottom: 15vw;
	}

	/* 各section用メインイメージ制御 */
	#reserve        > div > div:last-of-type img,
	#hosVisit       > div:last-of-type img,
	#medCertificate > div:last-of-type img {
		width: 100%;
		height: auto;
	}

	/* h2 */
	#reserve h2,
	#hosVisit h2,
	#medCertificate h2 {
		margin-bottom: 30px;
		text-align: center;
		font-size: 6vw;
	}


/* -------------------------------------- reserve -------------------------------------- */
	#reserve::before {
		content: '1';
	}

	#reserve > div:first-of-type > div:first-of-type > p {
		line-height: 200%;
		text-align-last: justify;
		font-size: 3.5vw;
	}

	#reserve > div:first-of-type > div:first-of-type > p:last-of-type {
		margin-bottom: 20px;
	}

	/* 左右border付文言 */
	#reserve> div:first-of-type > div > div:first-of-type div {
		border-left: 1px solid #423f3f;
	}

	#reserve> div:first-of-type > div > div:first-of-type div:last-of-type {
		border-right: 1px solid #423f3f;
	}

	#reserve > div:first-of-type > div > div div {
		width: 50%;
	}

	#reserve> div:first-of-type > div > div:first-of-type p {
		padding: 5px 0;

		text-align: center;
		line-height: 150%;
		font-size: 3.5vw;
	}

	/* web予約の際に、～ */
	#reserve> div:first-of-type > div > div:last-of-type {
		margin-bottom: 30px;
	}

	#reserve> div:first-of-type > div > div:last-of-type p {
		margin-bottom: 10px;

		line-height: 200%;
		font-size: 3.5vw;
	}

	/* 診察日・時間表 */
	#reserve > div:last-of-type > div:first-of-type {
		margin-bottom: 30px;
		width: 100%;
	}

	#reserve > div:last-of-type ul ul li {
		padding: 15px 0px;
		font-size: 2vw;
	}

	#reserve > div:last-of-type > div:first-of-type p {
		font-size: 2.2vw;
	}


	/* ボタン */
	#reserve .wrapBtn {
		width: 100%;
	}

	/* ボタン：アクセス */
	#reserve .wrapBtn .access a {
		height: 15vw;
		border-radius: 10px;
		font-size: 4vw;
	}

	#reserve .wrapBtn .access img {
		height: 20px;
	}

	/* ボタン：web予約 */
	#reserve .wrapBtn .web a {
		height: 15vw;
		border-radius: 10px;
	}

	#reserve .wrapBtn .web img {
		height: 20px;
	}

	#reserve .wrapBtn .web p:first-of-type {
		font-size: 4vw;
	}

	#reserve .wrapBtn .web p:last-of-type {	font-size: 2.4vw; }

	/* ボタン：電話番号 */
	#reserve .wrapBtn .telB {
		width: 100%;
	}

	#reserve .wrapBtn .telB > a {
		padding: 8% 0px;
	}

	#reserve .wrapBtn .telB > a div {
		margin-bottom: 5px;
	}

	#reserve .wrapBtn .telB img {
		height: 30px;
	}

	#reserve .wrapBtn .telB a div p {
		font-size: 8vw;
	}

	#reserve .wrapBtn .telB a > p {
		font-size: 3vw;
	}


/* -------------------------------------- hosVisit -------------------------------------- */
	/* 最初の文言 */
	#hosVisit > div:first-of-type > p:first-of-type {
		margin-bottom: 1.5vw;
		line-height: 200%;
		font-size: 3.5vw;
	}

	#hosVisit > div:first-of-type > p:nth-of-type(2) {
		margin-bottom: 10vw;
		letter-spacing: 1px;
		font-size: 3vw;
	}

	/* 丸 */
	#hosVisit > div:first-of-type div p.dot {
		padding-left: 9vw;

		letter-spacing: 2px;
		font-size: 4vw;
	}

	#hosVisit > div:first-of-type div p.dot::before {
		width: 4vw;
		height: 4vw;
		border-radius: 2vw;
	}

	/* items01 */
	#hosVisit > div:first-of-type h3 {
		font-size: 5vw;
	}

	#hosVisit > div:first-of-type div p,
	#hosVisit > div:first-of-type > p:last-of-type {
		padding-left: 9vw;
		font-size: 3vw;
	}

	/* items02 */
	#hosVisit > div:first-of-type div.items02 p:nth-of-type(4) {
		position: relative;

		margin-bottom: 7vw;
	}

	#hosVisit > div:first-of-type div.items02 p:nth-of-type(4) span {
		position: absolute;
		top: 6vw;
		left: 9vw;

		font-size: 3vw;
	}


/* -------------------------------------- medCertificate -------------------------------------- */
	/* 文言 */
	#medCertificate > div:first-of-type > p {
		margin-bottom: 1.5vw;
		line-height: 200%;
		font-size: 3.5vw;
	}


/* -------------------------------------- info -------------------------------------- */
	/* h2 */
	#info h2 {
		margin: 0px 5% 9vw;
		font-size: 5vw;
	}

	/* リスト */
	#info ul {
		margin: 0px auto 10vw;
		width: 80%;
	}

	#info li {
		margin-bottom: 10vw;
		padding-left: 5.5vw;
	}

	.iDot::before {
		top: 2.5vw;

		width: 2.5vw;
		height: 2.5vw;
		border-radius: 1.25vw;
	}

	#info li p {
		margin-bottom: 1vw;

		line-height: 200%;
		letter-spacing: 1px;
		font-size: 3.5vw;
	}

	/* 最後の文 */
	#info > p {
		margin-bottom: 10px;
		width: 90%;

		letter-spacing: 1px;
		font-size: 3vw;
	}






/* -------------------------------------- footer -------------------------------------- */

	footer { padding: 10px 5px 0; }

	footer div:first-of-type { margin: 0px auto 5px; }

	footer div img { width: 60%; }

	footer .detail > div:nth-of-type(2) p,
	footer .detail > div:nth-of-type(2) address {
		margin-bottom: 10px;
		line-height: 150%;
		font-size: 3.5vw;
	}

	footer .detail .tel { margin-bottom: 20px; }

	footer .detail .tel p {	font-size: 3.5vw; }

	footer .detail .tel div { font-size: 7vw; }


}
