@charset "utf-8";
/* CSS Document */


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

		$index　＊　mainvisual

==================================================================*/
#top_mainvisual {
	position: relative;
	top: 200px;
	margin-bottom: 200px;
	width: 100%;
	height: 700px;
	background: url("../images/mainvisual.jpg") center top no-repeat;
	background-size: cover;
	border-radius: 100px 0 100px 0;
	overflow: hidden;
	isolation: isolate; /* 中のz-indexを外に漏らさない */
}
@media screen and (max-width: 640px) {
	#top_mainvisual {
		top: 80px;
		margin-bottom: 70px;
		height: 450px;
		border-radius: 60px 0 60px 0;
	}
}

.mv_open {
	position: absolute;
    width: 100%;
    text-align: center;
    top: 40%;
    color: #ffffff;
    text-shadow: 0 0 5px #8A6F4F, 0 0 10px #8A6F4F, 0 0 20px #8A6F4F;
    font-weight: 500;
    font-size: 37px;
    letter-spacing: 2px;
}
@media screen and (max-width: 640px) {
	.mv_open {
		top: 36%;
		font-size: 22px;
	}
}


.mv_point01, .mv_point02, .mv_point03 {
	position: absolute;
	border-radius: 100%;
	box-sizing: border-box;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #FFF;
	transition: 0.3s ease-out;
}
.mv_point01 {
	bottom: 130px;
	left: 5%;
	width: 200px;
	height: 200px;
	background: rgba(233, 136, 58, 0.8);
	border: 2px solid var(--color-orange);
}
.mv_point02 {
	bottom: 40px;
	left: calc( 5% + 200px );
	width: 190px;
	height: 190px;
	background: rgba(138, 111, 79, 0.8);
	border: 2px solid #8a6f4f;
}
.mv_point03 {
	bottom: 90px;
	left: calc( 5% + 405px );
	width: 160px;
	height: 160px;
	background: rgba(0,0,0,.6);
	border: 2px solid #888;
}

.mv_point01:hover, .mv_point02:hover, .mv_point03:hover {
	transform: translateY(-5px);
	color: #FFF;
}
.mv_point01:hover {
	background: rgba(233, 136, 58, 0.9);
}
.mv_point02:hover {
	background: rgba(138, 111, 79, 0.9);
}
.mv_point03:hover {
	background: rgba(0,0,0,.7);
}
.mv_open,
.mv_point01,
.mv_point02,
.mv_point03 {
	z-index: 2;
}
@media screen and (max-width: 640px) {
	.mv_point01,
	.mv_point02,
	.mv_point03 {
		border-width: 1px;
		font-size: 12px;
		letter-spacing: 0;
		line-height: 1.7;
	}
	.mv_point01 {
		bottom: 70px;
		left: 3%;
		width: 120px;
		height: 120px;
	}
	.mv_point02 {
		bottom: 20px;
		left: calc(3% + 120px);
		width: 110px;
		height: 110px;
	}
	.mv_point03 {
		bottom: 45px;
		left: calc(3% + 240px);
		width: 100px;
		height: 100px;
	}
}



#video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	z-index: 0;
	pointer-events: none;
}
#top_mainvisual::before {
	content: "";
	position: absolute;
	inset: 0;
	background: url("../images/bg_01.png") repeat;
	background-size: 4px;
	z-index: 1;
	pointer-events: none; /* クリックを通す */
}
@media screen and (max-width:640px) {
	#video {
		object-position: center 30%; /* 見せたい位置に合わせて調整 */
	}
}








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

		お知らせ　＊　top_news

==================================================================*/
#top_news {
	border-top: 50px solid #FFF;
	background: linear-gradient(to right, #f4f2f0 0%, #f4f2f0 47%, #FFF 47%, #FFF 100%);
}
#top_news .inner {
	width: 90%;
	max-width: 1500px;
	margin: auto;
	display: flex;
	flex-direction: row-reverse;
	justify-content: space-between;
	gap: 8%;
	padding-top: 30px;
	padding-bottom: 140px;
}


#top_news .right {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-self: stretch;
}
#top_news .right h2 {
	align-items: flex-end;
}
#top_news .right .btn a {
	margin-left: auto;
}


#top_news ul {
	flex: 1;
	margin-top: 130px;
	margin-left: 5%;
	border-top: 1px solid #ddd;
}
#top_news li a {
	display: flex;
	align-items: center;
	gap: 30px;
	padding: 30px 0;
	border-bottom: 1px solid #ddd;
}
#top_news li a .meta {
	display: flex;
	align-items: center;
	gap: 30px;
	flex-shrink: 0;
}
#top_news li a time {
	font-family: "Lato", sans-serif;
	font-size: 16px;
	color: #666;
}
#top_news li a .category {
	flex-shrink: 0;
	width: 135px;
	padding: 3px 0;
	text-align: center;
	font-size: 15px;
	background: #d8d1c8;
	border-radius: 20px;
	color: #222;
}
#top_news li a p {
	flex: 1;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
	overflow: hidden;
	color: #222;
}
#top_news li a:hover {
	padding: 30px 0 30px 10px;
}

@media screen and (max-width:1540px) {
	#top_news .inner { max-width: 1300px;}
	#top_news ul { margin-left: 0%;}
}
@media screen and (max-width: 640px) {
	#top_news {
		background: linear-gradient(to right, #f4f2f0 0%, #f4f2f0 30%, #FFF 30%, #FFF 100%);
	}
	#top_news .inner {
		width: 90%;
		flex-direction: column;
		gap: 0;
		padding-top: 40px;
		padding-bottom: 80px;
	}
	#top_news .right {
		flex-direction: row;
		justify-content: center;
		align-items: flex-end;
	}
	#top_news .right h2 {
		align-items: center;
	}
	#top_news ul {
		margin-top: 0;
		margin-left: 0;
	}
	#top_news li a {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
		padding: 20px 0;
	}
	#top_news li a:hover {
		padding: 20px 0;
	}
	#top_news li a .meta {
		display: flex;
		align-items: center;
		gap: 15px;
	}
	#top_news li a time {
		font-size: 14px;
	}
	#top_news li a .category {
		width: 80px;
		padding: 1px 15px;
		font-size: 13px;
	}
	#top_news li a p {
		width: 100%;
		-webkit-line-clamp: 2;
	}
	#top_news .btn {
		margin: 40px auto 0;
	}
}







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

		横スライダー

==================================================================*/
.scroll-infinity .inner {
	display: flex;
	overflow: hidden;
	gap: 30px;
}
.scroll-infinity ul {
	display: flex;
	animation: infinity-scroll-left 80s infinite linear 0.5s both;
	gap: 30px;
}
.scroll-infinity li {
	width: 380px;
}
.scroll-infinity li img {
	width: 100%;
	border-radius: 40px 0 40px 0;
}
@keyframes infinity-scroll-left { from { transform: translateX(0);} to { transform: translateX(-100%);}}


/*------------------------------ TOPページ：１つ目のスライダー ------------------------------*/
#top_scroll_1 {
	background: linear-gradient(to right, #f4f2f0 0%, #f4f2f0 47%, #FFF 47%, #FFF 100%);	
}

/*------------------------------ TOPページ：２つ目のスライダー ------------------------------*/
.home #top_scroll_2 {
	background: linear-gradient(to right, #f4f2f0 0%, #f4f2f0 79%, #FFF 79%, #FFF 100%);
}

@media screen and (max-width: 640px) {
	.scroll-infinity .inner {
		gap: 15px;
	}
	.scroll-infinity ul {
		gap: 15px;
	}
	.scroll-infinity li {
		width: 200px;
	}
	#top_scroll_1 {
		background: linear-gradient(to right, #f4f2f0 0%, #f4f2f0 30%, #FFF 30%, #FFF 100%);	
	}
}






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

		医院概要　＊　top_information

==================================================================*/
#top_information::before {
	position: absolute; content: "";
	left: 0; top: 0;
	width: 100%;
	height: 150px;
	background: linear-gradient(to right, #f4f2f0 0%, #f4f2f0 47%, #FFF 47%, #FFF 100%);
}
@media screen and (max-width: 640px) {
	#top_information::before {
		height: 155px;
		background: linear-gradient(to right, #f4f2f0 0%, #f4f2f0 30%, #FFF 30%, #FFF 100%);
	}
}








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

		当院の診療理念　＊　top_philosophy

==================================================================*/
#top_philosophy  {
	position: relative;
	margin-top: 80px;
}
#top_philosophy::after {
	position: absolute; content: "";
	width: 100%; height: 100%;
	top: 55px; left: 0;
	background: url("../images/top/img04.jpg") no-repeat center top;
}
#top_philosophy .inner {
	position: relative;
	padding-bottom: 100px;
	z-index: 9;
}
#top_philosophy dl {
	text-align: center;
}
#top_philosophy dl dt {
	position: relative;
	display: inline-block;
	margin-bottom: 35px;
	font-size: 28px;
	font-weight: 700;
	letter-spacing: 3px;
}
#top_philosophy dl dt::before {
	position: absolute; content: "";
	width: 25px; height: 20px;
	top: 15px; left: -50px;
	background: url("../images/top/img02.png") no-repeat 0 0 / 25px 20px;
}
#top_philosophy dl dt::after {
	position: absolute; content: "";
	width: 25px; height: 20px;
	top: 15px; right: -40px;
	background: url("../images/top/img03.png") no-repeat 0 0 / 25px 20px;
}
#top_philosophy dl dd {
	margin-bottom: 40px;
	line-height: 2.4;
}
#top_philosophy .btn a {
	margin: auto;
}
@media screen and (max-width: 640px) {
	#top_philosophy {
		margin-top: 40px;
	}
	#top_philosophy::after {
		top: 30px;
		background-size: cover;
	}
	#top_philosophy .inner {
		width: 90%;
		margin: auto;
		padding-bottom: 60px;
	}
	#top_philosophy dl dt {
		margin-bottom: 20px;
		font-size: 20px;
		letter-spacing: 1px;
	}
	#top_philosophy dl dt::before {
		top: 8px;
		left: -32px;
		width: 18px;
		height: 15px;
		background-size: 18px 15px;
	}
	#top_philosophy dl dt::after {
		top: 8px;
		right: -26px;
		width: 18px;
		height: 15px;
		background-size: 18px 15px;
	}
	#top_philosophy dl dd {
		margin-bottom: 35px;
		line-height: 2;
		text-align: justify;
	}
}







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

		当院の診療理念　＊　top_features

==================================================================*/
#top_features {
	border-top: 50px solid #FFF;
	background: linear-gradient(to left, #f4f2f0 0%, #f4f2f0 42%, #FFF 42%, #FFF 100%);
	padding-bottom: 200px;
}
#top_features .inner {
	width: 90%;
	max-width: 1300px;
	margin: 40px auto 0;
}
#top_features h2 {
	align-items: flex-start;
}
#top_features ul {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
}
#top_features ul li {
	display: flex;
	flex-direction: column;
}
#top_features ul li figure {
	width: 100%;
}
#top_features ul li figure img {
	width: 100%;
	border-radius: 60px 0 0 0;
}
#top_features ul li:nth-of-type(even) figure img {
	border-radius: 0 0 60px 0;
}

#top_features ul li dt {
	display: flex;
	align-items: flex-start;
	margin: 30px 0 20px;
	font-size: 23px;
	font-weight: 500;
	line-height: 1.6;
}
#top_features ul li dt i {
	flex-shrink: 0;
	font-style: normal;
	color: var(--color-orange);
	font-family: "Lato", sans-serif;
	font-size: 32px;
	margin-right: 10px;
	line-height: 1.1;
}
#top_features ul li dd {
	margin-bottom: 25px;
}
#top_features .btn {
	margin-top: auto;
}
#top_features .btn a {
	margin-left: auto;
}
@media screen and (max-width:1380px) {
	#top_features ul li dt {
		font-size: 21.5px;
	}
}
@media screen and (max-width: 640px) {
	#top_features {
		padding-bottom: 110px;
	}
	#top_features .inner {
		width: 90%;
		margin-top: 20px;
	}
	#top_features h2 {
		align-items: center;
	}
	#top_features ul {
		grid-template-columns: 1fr;
		gap: 50px;
	}
	#top_features ul li:nth-of-type(even) figure img {
		border-radius: 60px 0 0 0;
	}
	#top_features ul li dt {
		margin: 20px 0 15px;
		font-size: 19px;
	}
	#top_features ul li dt i {
		font-size: 26px;
		margin-right: 8px;
	}
	#top_features ul li dd {
		margin-bottom: 20px;
	}
}






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

		診療案内　＊　top_service　＊　ピックアップ部分

==================================================================*/
#top_service {
	width: 90%;
	max-width: 1300px;
	margin: -55px auto 0;
}
@media screen and (max-width: 640px) {
	#top_service {
		margin: -25px auto 0;
	}
}



/*------------------------------ 左右リスト ------------------------------*/
#top_service_pickup li {
	display: flex;
	align-items: center;
	gap: 80px;
	margin-bottom: 100px;
}
#top_service_pickup figure {
	flex: 1;
}
#top_service_pickup figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 60px 0 60px 0;
}
#top_service_pickup .box {
	width: 620px;
	text-align: center;
}
#top_service_pickup .box em img {
	width: 288px;
}
#top_service_pickup .box dt {
	margin: 25px 0 20px;
	font-size: 27px;
	font-weight: 500;
	line-height: 1.8;
}
#top_service_pickup .box dd {
	letter-spacing: 0.2px;
	margin-bottom: 40px;
}
#top_service_pickup .btns {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 35px;
}
#top_service_pickup .btn a {
	width: 100%;
	line-height: 1.6;
}

/*------------------------------ １つ目のみ変更点 ------------------------------*/
#top_service_pickup li:nth-of-type(1) .btn a {
	padding: 12px 0;
}

/*------------------------------ ２つ目のみ変更点 ------------------------------*/
#top_service_pickup li:nth-of-type(2) {
	flex-direction: row-reverse;
}
#top_service_pickup li:nth-of-type(2) .btn a {
	padding: 25px 0;
}
@media screen and (max-width: 640px) {
	#top_service_pickup li {
		flex-direction: column;
		gap: 25px;
		margin-bottom: 60px;
	}
	#top_service_pickup li:nth-of-type(2) {
		flex-direction: column;
	}
	#top_service_pickup figure {
		width: 100%;
	}
	#top_service_pickup .box {
		width: 100%;
	}
	#top_service_pickup .box em img {
		width: 200px;
	}
	#top_service_pickup .box dt {
		margin: 15px 0 15px;
		font-size: 19px;
	}
	#top_service_pickup .box dd {
		margin-bottom: 25px;
		text-align: justify;
	}
	#top_service_pickup .btns {
		grid-template-columns: repeat(1, 1fr);
		gap: 15px;
	}
	#top_service_pickup .btn a {
	}
	#top_service_pickup li:nth-of-type(1) .btn a {
		padding: 12px 0;
	}
	#top_service_pickup li:nth-of-type(2) .btn a {
		padding: 12px 0;
	}
}






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

		診療案内　＊　top_service　＊　アイコン一覧部分

==================================================================*/
#top_service_list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 40px 20px;
}
#top_service_list li {
	position: relative;
}
#top_service_list li a {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-bottom: 15px;
}
#top_service_list a figure {
	width: 80px;
	height: 80px;
	border-radius: 100%;
	background: var(--color-beige-light);
	box-sizing: border-box;
	border: 1px solid var(--color-beige-light);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: 0.3s ease-out;
}
#top_service_list a:hover figure {
	background: #FFF;
	border: 1px solid #888;
}
#top_service_list a figure img {
	height: auto;
}
#top_service_list a dd {
	font-size: 12px;
	color: #888888;
	line-height: 1.4;
	letter-spacing: 0.2px;
	transition: 0.3s ease-out;
}
#top_service_list a dt {
	font-size: 22px;
	letter-spacing: 3px;
	color: #222;
	line-height: 1;
	margin-top: 8px;
	transition: 0.3s ease-out;
}
#top_service_list a:hover dd {
	color: var(--color-beige);
}
#top_service_list a:hover dt {
	color: var(--color-orange);
}

#top_service_list li:nth-of-type(8) a dt { /*インプラント*/
	font-size: 21px;
	letter-spacing: 1px;
}
@media screen and (max-width:1440px) {
	#top_service_list li:nth-of-type(8) a dt { /*インプラント*/
		font-size: 20px;
		letter-spacing: 0;
	}
}
@media screen and (max-width: 640px) {
	#top_service_list {
		grid-template-columns: repeat(1, 1fr);
		gap: 30px 15px;
	}
	#top_service_list li a {
		gap: 20px;
		margin-bottom: 20px;
	}
	#top_service_list a figure {
		width: 55px;
		height: 55px;
	}
	#top_service_list a dd {
		font-size: 11px;
	}
	#top_service_list a dt {
		font-size: 19px;
		letter-spacing: 1px;
		margin-top: 8px;
		margin-bottom: 3px;
	}
	#top_service_list li:nth-of-type(8) a dt {
		font-size: 19px;
		letter-spacing: 1px;
	}
}


/*------------------------------ 下線やじるし ------------------------------*/
#top_service_list li::before {
	position: absolute; content: "";
	width: 95%; height: 1px;
	left: 0; bottom: 0;
	background: #555;
	transition: 0.3s ease-out;
}
#top_service_list li::after {
	position: absolute; content: "";
	width: 12px; height: 1px;
	right: 5%; bottom: 3px;
	background: #555;
	transform: rotate(30deg);
	transition: 0.3s ease-out;
}
#top_service_list li:hover::before {
	width: 100%;
}
#top_service_list li:hover::after {
	right: 0%;
}
@media screen and (max-width: 640px) {
	#top_service_list li::before {
		width: 100%;
	}
	#top_service_list li::after {
		right: 0%;
	}
	#top_service_list li:hover::before {
		width: 100%;
	}
	#top_service_list li:hover::after {
		right: 0%;
	}
}



/*------------------------------ アイコンのサイズ指定 ------------------------------*/
#top_service_list li:nth-of-type(1) a figure img { width: 49px;}
#top_service_list li:nth-of-type(2) a figure img { width: 43px;}
#top_service_list li:nth-of-type(3) a figure img { width: 35px;}
#top_service_list li:nth-of-type(4) a figure img { width: 42px;}
#top_service_list li:nth-of-type(5) a figure img { width: 35px;}
#top_service_list li:nth-of-type(6) a figure img { width: 43px; margin: 0 0 0 4px;}
#top_service_list li:nth-of-type(7) a figure img { width: 38px; margin: 0 0 2px 0;}
#top_service_list li:nth-of-type(8) a figure img { width: 30px;}
#top_service_list li:nth-of-type(9) a figure img { width: 47px;}
#top_service_list li:nth-of-type(10) a figure img { width: 36px;}
#top_service_list li:nth-of-type(11) a figure img { width: 40px; margin: 1px 0 0 1px;}
@media screen and (max-width: 640px) {
	#top_service_list li:nth-of-type(1) a figure img { width: 36px; }
	#top_service_list li:nth-of-type(2) a figure img { width: 32px; }
	#top_service_list li:nth-of-type(3) a figure img { width: 26px; }
	#top_service_list li:nth-of-type(4) a figure img { width: 31px; }
	#top_service_list li:nth-of-type(5) a figure img { width: 26px; }
	#top_service_list li:nth-of-type(6) a figure img { width: 32px; margin: 0 0 0 3px; }
	#top_service_list li:nth-of-type(7) a figure img { width: 28px; margin: 0 0 1px 0; }
	#top_service_list li:nth-of-type(8) a figure img { width: 22px; }
	#top_service_list li:nth-of-type(9) a figure img { width: 35px; }
	#top_service_list li:nth-of-type(10) a figure img { width: 26px; }
	#top_service_list li:nth-of-type(11) a figure img { width: 29px; margin: 0 0 0 1px; }
}








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

		院長紹介　＊　top_doctor

==================================================================*/
#top_doctor {
	position: relative;
	width: 100%;
	margin-top: 110px;
}
#top_doctor::before {
	position: absolute; content: "";
	width: 79%; height: calc( 100% - 55px );
	top: 55px; left: 0;
	background: url("../images/top/img27.jpg") no-repeat center top;
}
#top_doctor h2 {
	position: relative;
	z-index: 9;
}
#top_doctor .inner {
	position: relative;
	z-index: 9;
	width: 90%;
	margin: auto;
	gap: 80px;
	display: flex;
	flex-direction: row-reverse;
	align-items: stretch;
	padding-bottom: 110px;
}

#top_doctor figure {
	width: 45%;
	max-width: 760px;
}
#top_doctor figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 80px 0 80px 0;
}

#top_doctor .text {
	width: 680px;
	padding-top: 30px;
	padding-left: calc(50% - 1300px / 2);
}
#top_doctor .text .btn {
	margin-top: 45px;
}
@media screen and (max-width: 640px) {
	#top_doctor {
		margin-top: 60px;
	}
	#top_doctor::before {
		height: 100%;
		top: 25px;
		background-size: cover;
	}
	#top_doctor .inner {
		flex-direction: column;
		width: 90%;
		gap: 30px;
		padding-bottom: 60px;
	}
	#top_doctor figure {
		width: 100%;
		max-width: none;
	}
	#top_doctor figure img {
		height: auto;
		aspect-ratio: 4 / 3;
	}
	#top_doctor .text {
		width: 100%;
		padding-top: 0;
		padding-left: 0;
	}
}






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

		footerの医院概要　＊　TOPのみ背景をつける

==================================================================*/
.home .information {
}
.home .information::before {
	position: absolute; content: "";
	left: 0; top: 0;
	width: 100%;
	height: 150px;
	background: linear-gradient(to right, #f4f2f0 0%, #f4f2f0 79%, #FFF 79%, #FFF 100%);
}
@media screen and (max-width: 640px) {
	.home .information::before {
		height: 155px;
	}
}










