@charset "utf-8";

/*
TOPページ用CSS
*/

/* ヘッダー
---------------------------------------------------- */
@media screen and (max-width:900px) {
	#loading + header {
		height: 0;
		padding: 0;
	}
	
	#loading + header #header_l h1 img {
		display: none;
	}
}

/* コンセプト
---------------------------------------------------- */
.lead_block .container p {
	line-height: 2.3;
}


/* キービジュアル
---------------------------------------------------- */
#mv {
	width:100%;
	margin:0 auto;
	position:relative;
	overflow:hidden;
}

	.mv_box01 {
		width:100%;
		margin:0 auto;
	}
	
		.mv_box01 img {
			width: 100%;
			height:calc(100vh - 100px);
			object-fit: cover;
		}

	.mv_box02 {
		width:100%;
		margin:0 auto;
	}
	
		.mv_box02 img {
			width: 100%;
			height:calc(100vh - 100px);
			object-fit: cover;
			object-position: 100% 0;
		}

	.mv_box03 {
		width:100%;
		margin:0 auto;
	}
	
		.mv_box03 img {
			width: 100%;
			height:calc(100vh - 100px);
			object-fit: cover;
			object-position: 0 100%;
		}
	
	.mv_logo {
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%,-50%);
		z-index:10;
		text-align: center;
	}

@media screen and (max-width:900px) {
	.mv_box01 img {
		width: 100%;
		height:calc(100vh - 200px);
	}
	
	.mv_box02 img {
		width: 100%;
		height:calc(100vh - 200px);
		object-position:50% 50%;
	}
	
	.mv_box03 img {
		width: 100%;
		height:calc(100vh - 200px);
		object-position:50% 50%;
	}
	
	.mv_logo img {
		max-width: 70%;
		min-width: 180px;
		height: auto;
	}
}

.mv_scroll {
	position: absolute;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
}

	.mv_scroll p {
		font-family: 'Futura PT','Jost', sans-serif;
		font-size: 2.0rem;
		font-weight: 400;
		letter-spacing: 0.1rem;
		color: #fff;
		text-align: center;
		position: relative;
	}

	.mv_scroll .scroll_arrow {
		width: 100px;
		height: 20px;
		display: block;
		animation-name: arrow_move;
		animation-duration: 2s;
		animation-iteration-count:infinite;
		background: url("../common/img/scroll.png") no-repeat bottom center;
	}

@keyframes arrow_move {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 0.8;
  }

  100% {
    transform: translateY(16px);
    opacity: 0;
  }
}


/* TOP 特徴
---------------------------------------------------- */
#aspect {
	padding: 65px 10px 65px;
	background: #DEEBF7;
}

#aspect h2 {
	margin: 0 auto 25px;
	font-size: 3.4rem;
	line-height: 1.4;
	color: #928786;
	text-align: center;
}

#aspect ul {
	display: flex;
	justify-content: center;
}

#aspect ul li {
	width: 200px;
	margin: 0 10px 20px;
	padding: 15px 10px;
	font-weight: bold;
	border: 1px solid #928786;
	text-align: center;
}

@media screen and (max-width:900px) {
	#aspect {
		padding: 30px 10px 25px;
		background: #DEEBF7;
	}
	#aspect h2 {
		font-size: 2.0rem;
	}

	#aspect ul {
		flex-direction: column;
	}

	#aspect ul li {
		width: 240px;
		margin: 0 auto 10px;
	}
}


/* TOP 7つの特徴
---------------------------------------------------- */
#top_feature {
	padding:0 0 60px;
	overflow: hidden;
}

#top_feature .container {
	width: 95%;
	max-width: 1200px;
	margin: 0 auto 60px;
	padding: 0 50px;
	position: relative;
}

	#top_feature .container:before {
		content: "";
		position: absolute;
		width: 100%;
		height:calc(100% - 60px);
		bottom:-10px;
		left:0;
		background:#F4F7FA;
	}

#top_feature ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	position: relative;
}

	#top_feature ul li {
		width: calc((100% - (25px * 8)) / 4);
		margin: 0 25px 40px;
		position: relative;
		opacity: 0;
		bottom: -50px;
		transition: all 1.3s ease 0s;
	}

/* スクロールした時に追加されるclass */
#top_feature ul li.fadein {
	opacity: 1;
	bottom: 0;
}

#top_feature ul li:nth-child(2n){
	margin: 40px 25px 40px;
}

#top_feature .feature_box01 {
	position: relative;
}

#top_feature .feature_imgbox {
	position: relative;
	z-index: 5;
}

#top_feature .feature_imgbox img {
	width: 100%;
	height: auto;
}

#top_feature .feature_txtbox {
	width: calc(100% - 20px);
	padding: 20px 0;
	margin: -30px 10px 0;
	background: rgba(117,109,107,0.7);
	position: relative;
	z-index: 7;
}

#top_feature .feature_txtbox p {
	font-size: 1.4rem;
	font-weight: bold;
	text-align: center;
	color: #fff;
}

#top_feature .num_box01 {
	position: absolute;
	z-index: 8;
	bottom: 30px;
	left: -25px;
}

#top_feature ul li:nth-child(2n) .num_box01 {
	top: 0px;
}

#top_feature .num_box01 p {
	font-size: 12.0rem;
	font-weight: 300;
	line-height: 1.2;
	font-family: 'Futura PT','Jost', sans-serif;
	color: #fff;
}

#top_feature .btn_box {
	width: 90%;
	margin:0 auto;
}

#top_feature .btn_color {
	margin:40px auto 40px;
}

@media screen and (max-width:900px) {
	#top_feature {
		padding:0 0 30px;
	}

	#top_feature .container {
		margin: 0 auto 30px;
		padding: 0;
	}
	
	#top_feature ul {
		justify-content: flex-start;
	}

		#top_feature ul li {
			width: calc((100% - (12px * 4)) / 2);
			margin: 0 12px 40px;
		}

	#top_feature ul li:nth-child(2n){
		margin: 40px 12px 40px;
	}
	
	#top_feature .feature_txtbox {
		width: calc(100% - 10px);
		margin: -30px 5px 0;
	}
	
	#top_feature .feature_txtbox p {
		font-size: 1.3rem;
		font-weight: 500;
	}
	
	#top_feature .num_box01 {
		left: -15px;
	}
	
	#top_feature .num_box01 p {
		font-size: 7.0rem;
	}

}

/* TOP 矯正治療
---------------------------------------------------- */
#top_orthodontics {
	padding: 0 0 70px;
	overflow: hidden;
}

#top_orthodontics .header_box {
	width: 100%;
	height: 220px;
	background: url("../common/img/img_hr.jpg") no-repeat;
	background-size: cover;
}

#top_orthodontics .title_block02 {
	margin: -38px auto 20px;
}

#top_orthodontics h3 {
	font-size: 3.8rem;
	letter-spacing: -0.1rem;
	margin: 0 0 40px;
}

#top_orthodontics p.txt01 {
	line-height: 2.0;
	margin: 0 0 60px;
}

#top_orthodontics .btn_box {
	margin:0 0 0 -15px;
}

@media screen and (max-width:900px) {
	#top_orthodontics {
		padding: 0 0 40px;
	}
	#top_orthodontics h3 {
		font-size: 2.0rem;
		margin: 0 0 10px;
	}

	#top_orthodontics p.txt01 {
		margin: 0 0 40px;
	}
	
	#top_orthodontics .btn_box {
		margin:0 auto;
	}
}


/* TOP お悩み
---------------------------------------------------- */
#top_worries {
	padding: 75px 0;
	background: rgba(146,135,134,0.05);
}

#top_worries .container {
	width: 90%;
	max-width: 890px;
	margin: 0 auto;
	padding: 10px 10px;
	border-left: 1px solid #CCCCCC;
	border-right: 1px solid #CCCCCC;
	position: relative;
}

#top_worries .container h3 {
	font-size: 3.8rem;
	margin: 0 0 40px;
	text-align: center;
}

#top_worries .container ul {
	display: flex;
	flex-wrap: wrap;
}

#top_worries .container ul  li {
	width: calc((100% / 2) - 90px);
	margin: 0 0 0 90px;
}

@media screen and (max-width:900px) {
	#top_worries {
		padding: 30px 0;
	}
	
	#top_worries .container {
		padding: 10px 20px;
	}
	
	#top_worries .container h3 {
		font-size: 2.0rem;
		margin: 0 0 30px;
	}

	#top_worries .container ul  li {
		width: 100%;
		margin: 0 0;
	}
}

/* TOP 矯正治療で得られる効果
---------------------------------------------------- */
#top_effect {
	padding: 75px 0;
	overflow:hidden;
}

#top_effect h3 {
	font-size: 3.8rem;
	margin: 0 0 50px;
}

#top_effect p.txt {
	line-height: 2.0;
}

#top_effect .container {
	width: 95%;
	max-width: 1100px;
	margin: 0 auto;
	position: relative;
}

#top_effect .txt_block_l {
	width: 100%;
}

	#top_effect .txt_block_inner {
		width: 100%;
		max-width:660px;
	}

	#top_effect .txt_imgblock {
		right: -45px;
	}

#top_effect .container ul {
	margin: 40px 0;
}

@media screen and (max-width:900px) {
	#top_effect {
		padding: 40px 0 60px;
	}
	#top_effect h3 {
		font-size: 2.2rem;
		margin: 0 0 20px;
	}
	#top_effect p.txt {
		line-height: 1.8;
	}
	
	#top_effect .txt_block_l {
		width: 95%;
	}
	#top_effect .container ul {
		margin: 20px 0;
	}
}

/* TOP 治療案内
---------------------------------------------------- */
#top_treatment {
}

#top_treatment .container {
	width: 95%;
	max-width: 1140px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	position: relative;
}

#top_treatment .container li {
	width: calc((100% / 3) - 40px);
	margin: 0 20px 40px;
	opacity: 0;
	transition: all 1.3s ease 0s;
}

/* スクロールした時に追加されるclass */
#top_treatment .container li.fadein {
	opacity: 1;
}

@media screen and (max-width:900px) {
	#top_treatment .container li {
		width: calc((100% / 1) - 40px);
	}
}



/* TOP お知らせ
---------------------------------------------------- */
#top_news {
	padding: 60px 0 60px;
}

#top_news .container {
	width: 95%;
	max-width: 1100px;
	margin: 0 auto 40px;
}

#top_news ul {
}

	#top_news ul li {
		border-bottom: 1px solid rgba(146,135,134,0.2);
	}

	#top_news ul li dt {
		font-size: 2.0rem;
		padding: 30px 60px 30px 30px;
		position: relative;
	}
	#top_news ul li dd {
		padding: 0px 30px 50px;
	}

	#top_news .open_box:before {
		right: 35px;
	}

	#top_news .open_box.open,
	#top_news .open_box_inner {
		background: #f9f9f9;
	}

@media screen and (max-width:900px) {
	#top_news {
		padding:0 0 20px;
	}
	
	#top_news .open_box:before {
		right: 15px;
	}
	
	#top_news ul li dt {
		font-size: 1.4rem;
		padding: 20px 50px 20px 20px;
	}
	
	#top_news ul li dd {
		padding: 0px 20px 30px;
	}
}



/* TOP 当院のご紹介
---------------------------------------------------- */
#top_youtube {
	padding: 70px 10px 70px;
	background: #F8FBFD;
}

	#top_youtube .youtube {
		width: 95%;
		margin: 0 auto;
		text-align: center;
	}

@media screen and (max-width:900px) {
	#top_youtube {
		padding: 30px 10px 30px;
	}
	#top_youtube .youtube {
		position: relative;
		width: 100%;
		padding-top: 56.25%;
	}
	#top_youtube .youtube iframe {
		position: absolute;
		top: 0;
		right: 0;
		width: 100% !important;
		height: 100% !important;
	}
}


/* TOP Instagram
---------------------------------------------------- */
#top_instagram {
	padding: 60px 0 90px;
}

#top_instagram .title_box {
	width: 95%;
	margin: 0 auto 45px;
	padding: 0 0 50px;
	text-align: center;
	position: relative;
}

	#top_instagram .icon {
		display: block;
		position: absolute;
		bottom: 0;
		left: 50%;
		transform: translateX(-50%);
		width: 20px;
		height: 20px;
	}

	#top_instagram .title_box h3 {
		font-family: 'Futura PT','Jost', sans-serif;
		font-weight: normal;
		font-size: 4.0rem;
		color: #8CA4C3;
	}

#top_instagram .container {
	max-width: 1100px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
}

	#top_instagram .container li {
		margin: 0 30px;
		width : calc((100% / 5) - 60px);
	}

	#top_instagram .container li img {
		width: 100%;
		height: auto;
	}

@media screen and (max-width:900px) {
	#top_instagram {
		padding: 20px 0 20px;
	}

	#top_instagram .title_box {
		padding: 0 0 30px;
		margin: 0 auto 20px;
	}
	
	#top_instagram .title_box h3 {
		font-size: 3.0rem;
	}
	
	#top_instagram .container li {
		margin: 0 5px 10px;
		width : calc((100% / 3) - 10px);
	}
}

/* Loading
---------------------------------------------------- */
#loading {
	position: fixed;
	width: 100%;
	height: 100%;
	padding: 105px 0 0;
	z-index: 9999;
	background:#fff;
	text-align:center;
	overflow: hidden;
}

#loading_img {
	height:calc(100vh - 100px);
	position: relative;
}

.loading_img_inner {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	z-index:10;
	text-align: center;
}

.blur{
	animation-name:blurAnime;
	animation-duration:1.2s;
	animation-fill-mode:forwards;
}

@keyframes blurAnime{
  from {
	filter: blur(10px);
	transform: scale(1.02);
	opacity: 0;
  }

  to {
	filter: blur(0);
	transform: scale(1);
	opacity: 1;
  }
}
 
.blurTrigger{
    opacity: 0;
}

@media screen and (max-width:900px) {
	#loading {
		padding: 0 0 0;
	}

	#loading_img {
		height:calc(100vh - 200px);
	}

	.loading_img_inner img {
		max-width: 70%;
		min-width: 180px;
		width: 100%;
		height: auto;
	}

}


.doctors_file{
	display:flex;
	justify-content: space-around;
	max-width: 1100px;
	width: 95%;
	margin: 20px auto;
}
.doctors_file div img{
	width: 90%;
	max-width: 100%;
	box-shadow: 1px 5px 30px -10px rgba(0, 0, 0, .5);
}
.doctors_file a{
	display: flex;
	justify-content: center;
	margin-bottom: 10px;
}
@media screen and (max-width:900px) {
	.doctors_file{
		flex-direction: column;
	}

}


.nearby_clinic{
	max-width: 1100px;
	width: 95%;
	margin: 0 auto;
	padding: 50px 55px;
}

.nearby_clinic p:after {
    content: '';
    position: absolute;
    width: 100px;
    height: 1px;
    background: #EEEEEE;
    bottom: 0;
    left: 0;
}

.nearby_clinic p {
    font-size: 2.5rem;
    font-weight: 400;
    padding: 0 0 10px;
    margin: 0 0px 25px;
    position: relative;
}

.nearby_clinic a{
	color: #8CA4C3;
	border: #B4C7E7 1px solid;
	padding: 12px 30px;
}
.clinic_link{
	margin-top: 35px;
}