@charset "UTF-8";
/*--------------------------------------------------------------
 * this is original style
 *
 * @package isenorgoc
--------------------------------------------------------------*/

/*----------------------------------------------------------------------
	トップページ
----------------------------------------------------------------------*/

/*--------------------------------------------------------------
	共通タイトルスタイル
--------------------------------------------------------------*/

.home .main h2 {
	text-align: center;
	font-size: 3.8rem;
	position: relative;
	margin-bottom: 50px;
}

.home .main .front_news_wrap h2 {
	font-size: 30px;
	font-size: 3.0rem;
	font-weight: 100;
	margin: 0;
	text-align: left;
}

.home .main .front_news_wrap h2 span {
	color: #e79c24;
	font-weight: 100;
	/* font-family: cursive; */
	font-family: 'Snell Roundhand';
}

.home .main .front_news_wrap h2 a {
	color: #452e18;
	font-size: 16px;
	font-size: 1.6rem;
	position: absolute;
	bottom: 0;
	right: 0;
	transition: all .3s;
}

.home .main .front_news_wrap h2 a:hover {
	color: #e79c24;
}

.home .main .front_features_wrap h2,
.home .main .front_movie_wrap h2 {
	position: relative;
	font-size: 40px;
	font-size: 4.0rem;
	line-height: 1.25;
}

.home .main .front_features_wrap h2::before,
.home .main .front_movie_wrap h2::before {
	content: "";
	display: block;
	width: 75px;
	height: 21px;
	background-image: url("../img/title_bg_front.png");
	position: absolute;
	left: 50%;
	transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
}

.home .main .front_features_wrap h2::before {
	top: -13px;
}

.home .main .front_movie_wrap h2::before {
	top: -25px;
}

.home .main .front_features_wrap h2 span,
.home .main .front_movie_wrap h2 span {
	color: #e79c24;
}

.home .main .front_features_wrap h2 .txt {
	font-size: 60px;
	font-size: 6.0rem;
}

.home .main .front_features_wrap h2 .sub_title,
.home .main .front_movie_wrap h2 .sub_title {
	display: block;
	font-size: 50px;
	font-size: 5.0rem;
	font-weight: 100;
	/* font-family: cursive; */
	font-family: 'Snell Roundhand';
}

.more_btn {
	width: 20%;
	margin: 0 auto;
	/* background-color: rgb(156, 141, 120); */
	background-color: #f19e1b;
	transition: .3s;
	border-radius: 30px;
}

.more_btn a {
	text-align: center;
	display: block;
	color: #fff;
	padding: 15px 0;
}

.more_btn:hover {
	background-position: 85% 48%, -100% 0;
}



@media screen and (max-width : 767px) {
	.home .main h2 {
		width: 100%;
		font-size: 2.8rem;
		margin: 20px auto 30px;
	}

	.home .main .front_news_wrap h2 {
		font-size: 28px;
		font-size: 2.8rem;
	}

	.home .main .front_features_wrap h2,
	.home .main .front_movie_wrap h2 {
		font-size: 19px;
		font-size: 1.9rem;
	}

	.home .main .front_features_wrap h2 .txt {
		font-size: 22px;
		font-size: 2.2rem;
	}

	.home .main .front_features_wrap h2::before,
	.home .main .front_movie_wrap h2::before {
		top: -19px;
	}
	
	.home .main .front_features_wrap h2 .sub_title,
	.home .main .front_movie_wrap h2 .sub_title {
		font-size: 25px;
		font-size: 2.5rem;
	}

	.more_btn {
		width: 50%;
		margin: 0 auto;
	}

}



/*--------------------------------------------------------------
	スライドアニメーション 基本のスタイル
--------------------------------------------------------------*/
.left-delighter {
	/* 左から右へ */
	transition: all .6s ease-out;
	transform: translateX(-100%);
	opacity: 0;
}

.right-delighter {
	/* 右から左へ */
	transition: all .6s ease-out;
	transform: translateX(100%);
	opacity: 0;
}

.down-delighter {
	/* 下から上へ */
	transition: all .6s ease-out;
	transform: translatey(100%);
	opacity: 0;
}

.top-delighter {
	/* 上から下へ */
	transition: all .6s ease-out;
	transform: translatey(-100%);
	opacity: 0;
}



/*--------------------------------------------------------------
	スライドアニメーション スタート時のスタイル
--------------------------------------------------------------*/
.left-delighter.started {
	/* 左から右へ */
	transform: none;
	opacity: 1;
}

.right-delighter.started {
	/* 右から左へ */
	transform: none;
	opacity: 1;
}

.down-delighter.started {
	/* 下から上へ */
	transform: none;
	opacity: 1;
}

.top-delighter.started {
	/* 上から下へ */
	transform: none;
	opacity: 1;
}

/*--------------------------------------------------------------
	エンド時のスタイル
--------------------------------------------------------------*/
.foo.delighter.started.ended {

}



/*--------------------------------------------------------------
	浮遊アニメーション
--------------------------------------------------------------*/
.floating {
	animation: floating-y 1.8s ease-in-out infinite alternate-reverse;
}

@keyframes floating-y {
	0% {
		transform: translateY(-20%);
	}

	100% {
		transform: translateY(20%);
	}

}

.floating02 {
	animation: floating-y 1.5s ease-in-out infinite alternate-reverse;
}

@keyframes floating-y {
	0% {
		transform: translateY(-20%);
	}

	100% {
		transform: translateY(20%);
	}

}




.front_features_box:first-of-type::before,
.front_features_box:nth-of-type(3)::before {
	animation: floating-y 1.5s ease-in-out infinite alternate-reverse;
}

@keyframes floating-y {
	0% {
		transform: translateY(-10%);
	}

	100% {
		transform: translateY(10%);
	}

}


.front_info_wrap::after,
.front_features_box:nth-of-type(2)::before,
.front_features_box:last-of-type::before,
.footer_conts::after {
	animation: floating-y 1.8s ease-in-out infinite alternate-reverse;
}

@keyframes floating-y {
	0% {
		transform: translateY(-10%);
	}

	100% {
		transform: translateY(10%);
	}

}

.front_features_txt img {
	animation: wobble 1.8s ease-in-out infinite alternate-reverse;
}

@keyframes wobble {
	0% {
		transform: translateX(0%);
	}
	15% {
		transform: translateX(-25%) rotate(-5deg);
	}
	30% {
		transform: translateX(20%) rotate(3deg);
	}
	45% {
		transform: translateX(-15%) rotate(-3deg);
	}
	60% {
		transform: translateX(10%) rotate(2deg);
	}
	75% {
		transform: translateX(-5%) rotate(-1deg);
	}
	100% {
		transform: translateX(0%);
	}
}



.marker {
	display: inline;
	padding-bottom: 0.2em; /* 文字とマーカーの距離 */
	background-image: linear-gradient(transparent 0%, rgba(255, 232, 62, 0.8) 0%);
	background-repeat: no-repeat;
	background-size: 0% 0.4em;
	background-position: 0 100%; /* ボックスの一番下に配置 */
	transition: background-size 2s;
}

.marker.on {
	background-size: 100% 0.4em; /* 横方向にスライドして広がる */
}



/*--------------------------------------------------------------
	クリニック紹介
--------------------------------------------------------------*/

.front_info_wrap {
	z-index: 9;
	overflow: hidden;
	position: relative;
	background-image: url("../img/flont_bg.png");
	margin-top: -115px;
	padding: 180px 0 60px;
	box-sizing: border-box;
}

.front_info_wrap::after {
	z-index: -1;
	/* width: 1351px; */
	/* height: 360px; */
	width: 90%;
	height: 100%;
	content: "";
	/* display: block; */
	display: inline-block;
	position: absolute;
	top: -10%;
	right: 0;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
	background-image: url("../img/footer_butterfly.png");
	background-size: contain;
	background-repeat: no-repeat;
	background-position-x: right;
}

.front_info_erea {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.front_info_erea .front_info {
	position: relative;
	width: 24%;
	height: 250px;
	border-radius: 10px;
	background-color: #fff;
	box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.05);
}

.front_info_erea .front_info .front_info_inner {
	padding: 45px 30px 0;
	box-sizing: border-box;
}

.front_info_title {
	text-align: center;
	position: relative;
	font-size: 24px;
	font-size: 2.4rem;
	margin: 25px 0 0;
}

.front_info_title.health,
.front_info_title.yobou,
.front_info_title.specialist {
	margin: 25px 0 5px;
}

.front_info_title::after {
	content: "";
	display: block;
	position: absolute;
	top: -27px;
	left: 50%;
	transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
}

.front_info_title span {
	position: relative;
	display: block;
	font-size: 15px;
	font-size: 1.5rem;
}

.front_info_title span::before {
	content: "";
	display: block;
	width: 58px;
	border: 1px dashed #452e18;
	position: absolute;
	top: 50%;
	left: 17%;
	transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
}

.front_info_title span::after {
	content: "";
	display: block;
	width: 58px;
	border: 1px dashed #452e18;
	position: absolute;
	top: 50%;
	left: 83%;
	transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
}

.front_info_title.general::after {
	width: 50px;
	height: 50px;
	background-image: url("../img/icon_stethoscope_btn.png");
}

.front_info_title.health::after {
	width: 59px;
	height: 50px;
	background-image: url("../img/icon_baby_btn.png");
}

.front_info_title.yobou::after {
	width: 44px;
	height: 44px;
	background-image: url("../img/icon_injection_btn.png");
}

.front_info_title.specialist::after {
	width: 35px;
	height: 45px;
	background-image: url("../img/icon_karte_btn.png");
}

.front_info_time {
	text-align: center;
	color: #fff;
	background-color: #ecab10;
	padding: 10px 0;
	box-sizing: border-box;
	border-radius: 50px;
	line-height: 1;
	margin: 12px 0 20px;
}

/* .front_info_time.health, */
/* .front_info_time.yobou, */
.front_info_time.specialist {
	font-size: 14px;
	font-size: 1.4rem;
	padding: 5px 0;
	margin: 0 0 17px;
	line-height: 1.25;
}

.front_info a {
	color: #fff;
	background-color: #7e5e40;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 9px 0;
	box-sizing: border-box;
	border-radius: 0 0 10px 10px;
	transition: all .3s;
}

.front_info a:hover {
	background-color: #452e18;
}

.front_info a img {
	width: 20px;
	height: 20px;
	margin: 0 0 0 10px;
}



@media screen and (min-width: 768px) and ( max-width: 1024px) {
	.front_info_erea .front_info {
		width: 49%;
		/* height: 170px; */
		height: unset;
		margin: 0 0 15px;
	}

	.front_info_title span::after {
		right: -3%;
	}

}

@media screen and (max-width : 767px) {
	.front_info_wrap {
		padding: 140px 0 30px;
		margin: -130px 0 30px;
	}

	.front_info_erea .front_info {
		width: 48%;
		/* height: 170px; */
		height: unset;
		margin: 0 0 15px;
	}

	.front_info_erea .front_info .front_info_inner {
		padding: 45px 10px 15px;
	}

	.front_info_erea .front_info:nth-child(2) .front_info_inner,
	.front_info_erea .front_info:nth-child(3) .front_info_inner {
		padding: 45px 10px 20px;
	}

	.front_info_title {
		font-size: 18px;
		font-size: 1.8rem;
	}

	.front_info_title span {
		font-size: 11px;
		font-size: 1.1rem;
	}

	.front_info_title span::before {
		width: 40px;
	}

	.front_info_title span::after {
		width: 40px;
	}

	.front_info_time {
		font-size: 11px;
		font-size: 1.1rem;
		margin: 5px 0 4px;
	}

	.front_info_time.health,
	.front_info_time.yobou,
	.front_info_time.specialist {
		font-size: 10px;
		font-size: 1.0rem;
		margin: 0;
	}

	.front_info a {
		font-size: 11px;
		font-size: 1.1rem;
	}

	.front_info a img {
		width: 16px;
		height: 16px;
	}

}

/*--------------------------------------------------------------
	バナー
--------------------------------------------------------------*/
.front_access_wrap {
	padding: 55px 0 0;
	box-sizing: border-box;
}



@media screen and (min-width: 768px) and ( max-width: 1024px) {


}



@media screen and (max-width : 767px) {
	.front_access_wrap {
		padding: 20px 0 30px;
	}

}



/*--------------------------------------------------------------
	ボタンエリア
--------------------------------------------------------------*/
.front_btn_wrap {
	padding: 55px 0 0;
	box-sizing: border-box;
}



@media screen and (min-width: 768px) and ( max-width: 1024px) {

}



@media screen and (max-width : 767px) {
}



/*--------------------------------------------------------------
	お知らせ
--------------------------------------------------------------*/

.front_news_wrap {
	padding: 5px 0 0;
	margin: 0 auto 100px;
}

.front_news_wrap ul {
	padding: 0;
	margin: 0 0 50px;
	background: #fff;
}

.front_news_wrap ul li {
	list-style: none;
	overflow: hidden;
	padding: 7px 0;
	position: relative;
}

.front_news_wrap ul li:first-child {
	border-top: 1px dashed #e5ded8;
}

.front_news_wrap ul li:last-child {
	border-bottom: 1px dashed #e5ded8;
}

.front_news_wrap ul li dl {
	overflow: hidden;
	margin: 0;
}

.front_news_wrap ul li dl dt {
	width: 22%;
	list-style: none;
	padding: 15px 25px;
	box-sizing: border-box;
	float: left;
	position: relative;
}

.front_news_wrap ul li dl dd {
	width: 78%;
	float: left;
	margin: 0;
	padding: 15px 30px;
	line-height: 1.5;
	box-sizing: border-box;
}

.front_news_wrap ul li a {
	color: #452e18;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	transition: all .3s;
}

.front_news_wrap ul li a:hover {
	color: #f19e1b;
}

.mark_news {
	background: #f19e1b;
	color: #fff;
	font-size: 10px;
	font-size: 1.0rem;
	width: 34px;
	height: 34px;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 50%
}

.entry_header .mark_news {
	margin: 10px 0 0 20px;
}

.front_news_wrap ul li dl dt .mark_news	{
	position: absolute;
	top: 50%;
	right: 0;
	transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
}



@media screen and (min-width: 768px) and ( max-width: 1024px) {
	.front_news_wrap {
		padding: 80px 0 0px;
		margin: 0;
	}

	.front_news_wrap ul li dl dt {
		width: 25%;
	}

	.front_news_wrap ul li dl dd {
		width: 75%;
		padding: 20px 20px 20px 30px;
	}

	.more_btn {
		width: 25%;
	}
}


@media screen and (max-width : 767px) {
	.front_news_wrap {
		padding: 0;
		margin: 0 auto 30px;
	}

	.front_news_wrap .news_left {
		width: 100%;
		float: none;
		padding: 13px 30px 1px;
	}

	.front_news_wrap .news_right {
		width: 100%;
		float: none;
	}

	.front_news_wrap .news_left img {
		display: none;
	}

	.front_news_wrap ul {
		/* padding: 20px 10px; */
		margin: 0 0 30px;
	}

	.front_news_wrap ul li dl dt,
	.front_news_wrap ul li dl dd {
		width: 100%;
		float: none;
	}

	.front_news_wrap ul li dl dt {
		border-right: none;
		padding: 5px 15px;
	}

	.front_news_wrap ul li dl dd {
		width: 100%;
		float: none;
		padding: 0 15px;
	}

}



/*--------------------------------------------------------------
	Youtube動画
--------------------------------------------------------------*/
.front_movie_wrap {
	position: relative;
	padding: 30px 0 80px;
}

.front_movie {
	max-width: 900px;
	margin: 0 auto;
}

.front_movie iframe {
	position: unset;
	top: unset;
	left: unset;
	width: 100%;
	height: 500px;
}



@media screen and (min-width: 768px) and ( max-width: 1024px) {

}



@media screen and (max-width : 767px) {
	.front_movie {
		max-width: unset;
		margin: 0;
		padding: 0 15px;
		box-sizing: border-box;
	}

	.front_movie iframe {
		height: 300px;
	}

}



/*--------------------------------------------------------------
	あわざこどもクリニックの4つの特徴
--------------------------------------------------------------*/

.front_features_wrap {
	padding: 70px 0 30px;
	position: relative;
}

.front_features_box {
	position: relative;
	margin: -80px 0 50px;
}

.front_features_box:first-of-type::before {
	z-index: -1;
	/* width: 928px; */
	/* height: 328px; */
	width: 50%;
	height: 50%;
	/* display: block; */
	display: inline-block;
	content: "";
	position: absolute;
	top: 6%;
	right: -15%;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
	background-image: url("../img/feature_01_bg.png");
	background-size: contain;
	background-repeat: no-repeat;
	background-position-x: right;
}

.front_features_box:nth-of-type(2)::before {
	z-index: -1;
	/* width: 310px; */
	width: 25%;
	height: 363px;
	/* display: block; */
	display: inline-block;
	content: "";
	position: absolute;
	top: 82%;
	left: 0;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
	background-image: url("../img/feature_02_bg.png");
	background-size: contain;
	background-repeat: no-repeat;
	background-position-x: left;
}

.front_features_box:nth-of-type(3)::before {
	z-index: -1;
	/* width: 1381px; */
	width: 80%;
	height: 404px;
	/* display: block;	 */
	display: inline-block;
	content: "";
	position: absolute;
	top: 70%;
	left: 0%;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
	background-image: url("../img/feature_03_bg.png");
	background-size: contain;
	background-repeat: no-repeat;
	background-position-x: left;
}

.front_features_box:last-of-type::before {
	z-index: -1;
	/* width: 1333px; */
	width: 85%;
	height: 604px;
	/* display: block; */
	display: inline-block;
	content: "";
	position: absolute;
	top: 75%;
	right: 0;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
	background-image: url("../img/feature_04_bg.png");
	background-size: contain;
	background-repeat: no-repeat;
	background-position-x: right;
}

.front_features_bg {
	position: relative;
	z-index: 0;
}

.front_features_box:nth-child(odd) .front_features_bg {
	z-index: 0;
	float: right;
}

.front_features_box:nth-child(even) .front_features_bg {
	float: left;
}

.front_features_txt {
	z-index: 99;
	position: absolute;
	/* -webkit-transform: translateY(-50%); */
	/* -ms-transform: translateY(-50%); */
	/* transform: translateY(-50%); */
}

.front_features_box:first-of-type .front_features_txt {
	width: 55%;
	top: 25%;
	left: 38%;
}

.front_features_box:nth-of-type(2) .front_features_txt {
	width: 55%;
	top: 30%;
	right: 33%;
}

.front_features_box:nth-of-type(3) .front_features_txt {
	width: 55%;
	top: 40%;
	left: 38%;
}

.front_features_box:last-of-type .front_features_txt {
	width: 55%;
	top: 35%;
	right: 40%;
}

.front_features_title_box {
	position: relative;
	display: flex;
	justify-content: end;
	margin: 0 0 20px;
}

.front_features_box:nth-of-type(3) .front_features_title_box {
	margin: 0 0 40px;
}

.front_features_txt img {
	display: block;
	width: 13%;
	position: absolute;
	top: 15%;
	left: 0;
	transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
}

.front_features_title {
	width: 77%;
	/* text-align: center; */
	font-size: 40px;
	font-size: 4.0rem;
	margin: 20px 0 20px;
	color: #4eb7a9;
	text-shadow: 1px -1px 9px rgba(255, 255, 255, 1), -1px 1px 9px rgba(255, 255, 255, 1), 1px -1px 9px rgba(255, 255, 255, 1), 1px 1px 9px rgba(255, 255, 255, 1), 1px -1px 9px rgba(255, 255, 255, 1), -1px 1px 9px rgba(255, 255, 255, 1), 1px -1px 9px rgba(255, 255, 255, 1), 1px 1px 9px rgba(255, 255, 255, 1);
}

.front_features_content {
	font-size: 20px;
	font-size: 2.0rem;
	text-shadow: 1px -1px 6px rgba(255, 255, 255, 1), -1px 1px 6px rgba(255, 255, 255, 1), 1px -1px 6px rgba(255, 255, 255, 1), 1px 1px 6px rgba(255, 255, 255, 1), 1px -1px 6px rgba(255, 255, 255, 1), -1px 1px 6px rgba(255, 255, 255, 1), 1px -1px 6px rgba(255, 255, 255, 1), 1px 1px 6px rgba(255, 255, 255, 1);
}

.front_features_box:nth-of-type(2) .front_features_txt .front_features_content {
	/* width: 75%; */
	/* margin: 0 auto; */
}

.front_features_box:last-of-type .front_features_txt .front_features_content {
	/* width: 90%; */
	/* margin: 0 auto; */
}



@media screen and (min-width: 768px) and ( max-width: 1024px) {
	.front_features_wrap {
		padding: 60px 0 20px;
	}

	.front_features_box {
		margin: 20px 0 50px;
	}

	.front_features_box:nth-child(even) .front_features_bg,
	.front_features_box:nth-child(odd) .front_features_bg {
		width: 50%;
	}

	.front_features_box:first-of-type .front_features_txt {
		width: 80%;
		top: 0%;
		left: 20%;
	}

	.front_features_box:nth-of-type(2) .front_features_txt {
		width: 80%;
		top: 0%;
		right: 20%;
	}

	.front_features_box:nth-of-type(3) .front_features_txt {
		width: 80%;
		top: 0%;
		left: 20%;
	}

	.front_features_box:last-of-type .front_features_txt {
		width: 80%;
		top: 0%;
		right: 20%;
	}

}



@media screen and (max-width : 767px) {
	.front_features_wrap {
		margin: 0;
		padding: 0;
	}

	.front_features_box {
		margin: 0 0 60px;
	}

	.front_features_box:first-of-type::before {
		content: none;
	}
	
	.front_features_box:nth-of-type(2)::before {
		content: none;
	}
	
	.front_features_box:nth-of-type(3)::before {
		content: none;
	}
	
	.front_features_box:last-of-type::before {
		content: none;
	}
	
	.front_features_box:nth-child(even) .front_features_bg,
	.front_features_box:nth-child(odd) .front_features_bg {
		width: 80%;
		opacity: .5;
	}

	.front_features_box:first-of-type .front_features_txt,
	.front_features_box:nth-of-type(2) .front_features_txt,
	.front_features_box:nth-of-type(3) .front_features_txt,
	.front_features_box:last-of-type .front_features_txt {
		width: 100%;
		top: 0;
		right: 0;
		left: 0;
	}
	
	.front_features_txt img {
		display: block;
		margin: 0 auto;
		left: 4%;
	}

	.front_features_title_box {
		margin: 0 0 10px;
	}

	.front_features_title {
		font-size: 20px;
		font-size: 2.0rem;
		margin: 20px 0 0;
	}
	
	.front_features_content {
		font-size: 16px;
		font-size: 1.6rem;
	}
	
	.front_features_box:nth-of-type(2) .front_features_txt .front_features_content {
		width: 100%;
		margin: 0;
	}
	
	.front_features_box:last-of-type .front_features_txt .front_features_content {
		width: 100%;
		margin: 0;
	}

}



/*--------------------------------------------------------------
	写真スライド
--------------------------------------------------------------*/

.front_photo_wrap {
	/* padding: 50px 0 80px; */
		padding: 0 0 80px;
	/* margin: 0 0 50px; */
}

.front_photo {
	position: relative;
}

.front_photo a {
	font-size: 18px;
	font-size: 1.8rem;
	width: 25%;
	display: flex;
	justify-content: center;
	align-items: center;
	color: #fff;
	background-color: #4eb7a9;
	padding: 15px;
	box-sizing: border-box;
	box-shadow: 0px 10px 7px 0px rgba(0, 0, 0, 0.2);
	border-radius: 50px;
	margin: 0 auto 80px;
	/* position: absolute; */
	/* top: 50%; */
	/* left: 50%; */
	/* transform: translate(-50%, -50%); */
	/* -webkit-transform: translate(-50%, -50%); */
	/* -ms-transform: translate(-50%, -50%); */
	transition: all .3s;
}

.front_photo a:hover {
	background-color: #3b9e90;
}

.front_photo a img {
	margin: 0 0 0 25px;
}

.top_scroll_slider div {
	margin: 0 5px;
}

.top_scroll_slider img {
	width: 100%;
	height: 310px;
	display: inline-block;
}



@media screen and (min-width: 1025px) and ( max-width: 1299px) {
	.front_photo a {
		width: 30%;
	}

}



@media screen and (min-width: 768px) and ( max-width: 1024px) {
	.front_photo_wrap {
		padding: 50px 0 80px;
	}

	.front_photo a {
		width: 50%;
		font-size: 16px;
		font-size: 1.6rem;
		padding: 15px 15px;
		justify-content: center;
	}

	.top_scroll_slider img {
		height: unset;
	}

}



@media screen and (max-width : 767px) {
	.front_photo_wrap {
		/* padding: 10px 0 60px; */
		padding: 0 0 60px;
	}

	.front_photo a {
		width: 90%;
		margin: 0 auto 60px;
		font-size: 16px;
		font-size: 1.6rem;
		padding: 15px 15px;
		justify-content: center;
	}

	.top_scroll_slider img {
		height: unset;
	}

}



/*--------------------------------------------------------------
	関連リンク
--------------------------------------------------------------*/

/*---------------*/
/***** Bubba *****/
/*---------------*/

.grid {
	position: relative;
	margin: 0 auto;
	/* padding: 1em 0 4em; */
	/* max-width: 1000px; */
	list-style: none;
	text-align: center;
	overflow: hidden;
}

/* Common style */
.grid figure {
	position: relative;
	float: left;
	overflow: hidden;
	margin: 0;
	min-width: 100%;
	max-width: 100%;
	max-height: 100%;
	/* width: 48%; */
	/* background: #a1a330; */
	text-align: center;
	cursor: pointer;
}

.grid figure img {
	position: relative;
	display: block;
	min-height: 100%;
	min-width: 100%;
	max-width: 100%;
	opacity: 0.8;
}

.grid figure figcaption {
	padding: 2em;
	color: #fff;
	text-transform: uppercase;
	font-size: 1.25em;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	box-sizing: border-box;
}

.grid figure figcaption::before,
.grid figure figcaption::after {
	pointer-events: none;
}

.grid figure figcaption,
.grid figure figcaption > a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.grid figure figcaption > a {
	z-index: 1000;
	text-indent: 200%;
	white-space: nowrap;
	font-size: 0;
	opacity: 0;
}

.grid figure h2 {
	word-spacing: -0.15em;
	font-size: 3.0rem;
}

.grid figure h2,
.grid figure p {
	margin: 0;
}

.grid figure p {
	letter-spacing: 1px;
	font-size: 15px;
}



figure.effect-bubba {
	background: #232819;
	position: relative;
}

figure.effect-bubba img {
	opacity: 1;
	-webkit-transition: opacity 0.35s;
	transition: opacity 0.35s;
}

figure.effect-bubba:hover img {
	opacity: 0.2;
}

figure.effect-bubba figcaption::before,
figure.effect-bubba figcaption::after {
	position: absolute;
	top: 30px;
	right: 30px;
	bottom: 30px;
	left: 30px;
	content: '';
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
}

figure.effect-bubba figcaption::before {
	border-top: 1px solid #fff;
	border-bottom: 1px solid #fff;
	-webkit-transform: scale(0,1);
	transform: scale(0,1);
}

figure.effect-bubba figcaption::after {
	border-right: 1px solid #fff;
	border-left: 1px solid #fff;
	-webkit-transform: scale(1,0);
	transform: scale(1,0);
}

figure.effect-bubba h2 {
	padding-top: 30%;
	opacity: 0;
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
	-webkit-transform: translate3d(0,-20px,0);
	transform: translate3d(0,-20px,0);
}

figure.effect-bubba p {
	padding: 20px 2.5em;
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: translate3d(0,20px,0);
	transform: translate3d(0,20px,0);
}

figure.effect-bubba:hover figcaption::before,
figure.effect-bubba:hover figcaption::after {
	opacity: 1;
	-webkit-transform: scale(1);
	transform: scale(1);
}

figure.effect-bubba:hover h2,
figure.effect-bubba:hover p {
	opacity: 1;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

figure.effect-bubba h2 {
	padding-top: 20%;
}

figure.effect-bubba .a_link {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
}



@media screen and (max-width : 767px) {
	.links_insta {
		margin: 0;
	}
	.links_insta h2 {
		margin: 0 0 30px;
	}
	.links,
	.insta {
		width: 100%;
		float: none;
		margin: 0 0 80px;
	}
	.insta {
		margin: 0 0 30px;
	}
}
