﻿p{
	font-size: 18px;
	margin-bottom: 1em;
}
.plan-point p{
	font-size: 16px;
}
@media screen and (max-width: 768px) {
	p,.plan-point p{
		font-size: 3.125vw;
	}
}
p.lead{
	font-size: 1.8em;
}
@media screen and (max-width: 768px) {
	p.lead{
		font-size: 4.66666666666vw;
	}
}
.content-wrap h2{
	margin-bottom: 0.4em;
	font-size: 2.4em;
	text-align: center;
  font-family: "Bona Nova SC", serif;
  font-weight: 400;
  font-style: normal;
}
@media screen and (max-width: 768px) {
	.content-wrap h2{
		font-size: 2em;
	}
}
a.reserve-btn{
	position: relative;
	display: block;
	width: 85%;
	max-width: 420px;
	padding: 1em;
	margin: 0 auto;
	background: #000;
	color: #fff;
	font-size: 1.4em;
	text-align: center;
}
a.location-btn{
	position: relative;
	display: block;
	width: 85%;
	max-width: 420px;
	padding: 1em;
	margin: 0 auto;
	background: #42c1be;
	color: #fff;
	font-size: 1.4em;
	text-align: center;
}
a.reserve-btn:after,
a.location-btn:after{
	position: absolute;
	top: 50%;
	right: 15px;
	transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	content: "";
	width: 0;
  height: 0;
  border-style: solid;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 10px solid #ffffff;
  border-right: 0;
	transition: .3s;
}
a.reserve-btn:hover::after,
a.location-btn:hover::after{
	right: 10px;
}
@media screen and (max-width: 768px) {
	a.reserve-btn:hover::after,
	a.location-btn:hover::after{
		right: 15px;
	}
}
.inner{
	padding: 80px 0;
}
@media screen and (max-width: 768px) {
	.inner{
		width: 100%;
		padding: 10.4166666vw 10px;
	}
}
#header{
	opacity: 0;
	z-index: -1;
	transform: .5s;
}
#header.nav-on{
	opacity: 1;
	z-index: 999
}
#hiraya-kv{
	position: relative;
	width: 100%;
	height: 100vh;
	background: url("../img/hiraya-model/kv.jpg");
	background-size: cover;
  background-position: center;
}
@media screen and (max-width: 768px) {
	#hiraya-kv{
		height: 120vw;
	}
}
#hiraya-kv h1 img{
	position: absolute;
	top: 30px;
	left: 50%;
	transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	width: 30%;
	max-width: 728px;
}
@media screen and (max-width: 768px) {
	#hiraya-kv h1 img{
		top: 20px;
		width: 75%;
	}
}
#leadbox{
	text-align: center;
}
#leadbox p{
	line-height: 2em;
}
@media screen and (max-width: 768px) {
	#leadbox{
		line-height: 2em;
	}
	#leadbox p.lead{
		line-height: 1.6em;
	}
}
.photo-wrap{
	margin: 80px 0 60px ;
}
@media screen and (max-width: 768px) {
	.photo-wrap{
		margin: 7.8125vw 0 ;
	}
}
.photo-wrap .col3{
	display: flex;
}
.photo-wrap img{
	display: block;
	line-height: 1;
}
.photo-wrap .col3 img{
	width: calc( 100% / 3 );
}

#movie{
	background: url("../img/hiraya-model/bg.jpg");
	background-size: cover;
}
#movie .youtube {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}
#movie .youtube iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
}
.plan-wrap{
	margin: 40px 0;
}
@media screen and (max-width: 768px) {
	.plan-wrap{
		margin: 5.208333333vw 0 0;
	}
}
.plan-data {
	display: flex;
	justify-content:center;
	align-items: center;
	margin-bottom: 40px;
}
.plan-data.sp {
	display: none;
}
@media screen and (max-width: 768px) {
	.plan-data.sp {
		display: block;
	}
}

.plan-data ul{
	margin-right: 2em;
	background: #f5f5f5;
	padding: 1em 1.4em;	
}
@media screen and (max-width: 768px) {
	.plan-data ul{
		margin-right: 0;
		margin-bottom: 1em;
	}
}
.plan-data img{
	width: 100%;
	max-width: 500px;
}
.plan-wrap img.zumen{
	display: block;
	margin: 0 auto 80px;
}
@media screen and (max-width: 768px) {
	.plan-wrap img.zumen{
		margin: 0 auto 7.8125vw;
	}
}
.plan-point{
	display: flex;
	flex-wrap: wrap;
}
@media screen and (max-width: 768px) {
	.plan-point{
		margin-bottom: 4.666666vw
	}
}
.plan-point li{
	width: calc(100% / 3);
	padding: 0 15px;
	margin-bottom: 20px;
}
@media screen and (max-width: 768px) {
	.plan-point li{
		width: calc(100% / 2);
	}
}
@media screen and (max-width: 480px) {
	.plan-point li{
		width: 100%;
	}
}
.plan-point li.large{
	width: calc(100% / 3 * 2);
}
@media screen and (max-width: 768px) {
	.plan-point li.large{
		width: 100%;
	}
}
.plan-point li.large .image-wrap{
	display: flex;
	justify-content: space-between;
}
.plan-point li.large .image-wrap img{
	width: calc( ( 100% - 30px ) / 2);
}
@media screen and (max-width: 480px) {
	.plan-point li.large .image-wrap{
		flex-wrap: wrap;
	}
	.plan-point li.large .image-wrap img{
		width:100%;
		margin-bottom: 5px;
	}
}
.image-wrap{
	position: relative;
	margin-bottom: 20px;
}
.image-wrap .num{
	position: absolute;
	top: 0;
	left: 0;
	display: inline-block;
	width: 25px;
	height: 25px;
	background: #000;
	color: #fff;
	text-align: center;
}
.plan-point li .image-wrap img{
	display: block;
	line-height: 1;
}
.plan-point li p.point-ttl{
	font-size: 18px;
}
@media screen and (max-width: 768px) {
	.plan-point li p.point-ttl{
		font-size: 4.1666666666666vw;
	}
}
#about{
	background: #ebeef6;
	text-align: center;
}
#about .hikarinomachi-point p{
	position: relative;
	padding: 0.4em;
	margin-bottom: 40px;
	background: #c6b253;
	color: #fff;
	font-size: 1.8em;
}
@media screen and (max-width: 768px) {
	#about .hikarinomachi-point p{
		font-size: 4.66666666666vw;
		padding: 0.6em;
		margin-bottom: 5.20833333vw;
	}
}

#about .hikarinomachi-point p:after{
	position: absolute;
	bottom: -0.8em;
  left: 50%;
	content: "";
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-right: 1em solid transparent;
  border-left: 1em solid transparent;
  border-top: 1em solid #c6b253;
  border-bottom: 0;
}

#about .hikarinomachi-point ul{
	display: flex;
	justify-content: space-between;
}
#about .hikarinomachi-point ul li{
	width: 31%;
		position: relative;
		overflow: hidden;
}
@media screen and (max-width: 768px) {
	#about .hikarinomachi-point ul{
		flex-wrap: wrap;
		max-width: 380px;
		margin: 0 auto -15px;
	}
	#about .hikarinomachi-point ul li{
		width: 100%;
		margin-bottom: 15px;
	}
}
/*#about .hikarinomachi-point ul li.takadai{
	background: linear-gradient(45deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../img/top/bg-highground.jpg) center center no-repeat;
	background-size: cover;
}
#about .hikarinomachi-point ul li.education{
	background: linear-gradient(45deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../img/top/bg-education.jpg) center center no-repeat;
	background-size: cover;
}
#about .hikarinomachi-point ul li.nature{
	background: linear-gradient(45deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../img/top/bg-nature.jpg) center center no-repeat;
	background-size: cover;
}*/
#about .hikarinomachi-point ul li:after{
	position: absolute;
	content: "";
	display: block;
	width: 100%;
	height: 100%;
	top: 0;
	-webkit-transition: all .3s ease-out;
	-moz-transition: all .3s ease-out;
	-ms-transition: all .3s ease-out;
	transition: all .3s ease-out;
}
#about .hikarinomachi-point ul li.takadai:after{
	background: linear-gradient(45deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../img/top/bg-highground.jpg) center center no-repeat;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-ms-background-size: cover;
	background-size: cover;
}
#about .hikarinomachi-point ul li.education:after{
	background: linear-gradient(45deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../img/top/bg-education.jpg) center center no-repeat;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-ms-background-size: cover;
	background-size: cover;
}
#about .hikarinomachi-point ul li.nature:after{
	background: linear-gradient(45deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../img/top/bg-nature.jpg) center center no-repeat;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-ms-background-size: cover;
	background-size: cover;
}
#about .hikarinomachi-point ul li.takadai:hover:after,
#about .hikarinomachi-point ul li.education:hover:after,
#about .hikarinomachi-point ul li.nature:hover:after {
	/*opacity: .8;*/
	-moz-transform: scale(1.1);
	-webkit-transform: scale(1.1);
	-ms-transform: scale(1.1);
	transform: scale(1.1);
}

#about .hikarinomachi-point ul li a{
	position: relative;
	display: block;
	width: 100%;
	padding: 40px 15px;
	color: #fff;
	z-index: 999;
}
@media screen and (max-width: 768px) {
	#about .hikarinomachi-point ul li a{
		padding: 20px 10px;
	}
}
#about .hikarinomachi-point ul li span{
	display: block;
	font-size: 2.2em;
}
#about .hikarinomachi-point ul li .arrow{
	position: relative;
	content: "";
	display: block;
	width: 40px;
	height: 40px;
	margin: 20px auto 0;
	background: #fff;
	border-radius: 40px;
}
@media screen and (max-width: 768px) {
#about .hikarinomachi-point ul li{position: relative;}
	#about .hikarinomachi-point ul li .arrow{
		position: absolute;
		top: 50%;
    right: 3%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
		width: 30px;
		height: 30px;
		margin:0;
	}
}
#about .hikarinomachi-point ul li .arrow:after{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 12px solid #555555;
  border-right: 0;
}
@media screen and (max-width: 768px) {
	#about .hikarinomachi-point ul li .arrow:after{
		border-top: 6px solid transparent;
		border-bottom: 6px solid transparent;
		border-left: 10px solid #555555;
	}
}

/* アニメーション */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-on-load {
  opacity: 0;
  animation: fadeInOnLoad 1s ease-out forwards;
  animation-delay: 0.3s; /* 任意で遅延も可能 */
}

@keyframes fadeInOnLoad {
  to {
    opacity: 1;
  }
}
/* 動画モーダル */
#movie button.modal_youtube_btn{
	position: relative;
	padding: 0;
	border: none;
	background-color:inherit;
	cursor: pointer;
	transition: .3s
}
#movie button.modal_youtube_btn img{
	display: block;
	line-height: 1;
}
#movie button.modal_youtube_btn::after{
	position: absolute;
	top: 0;
	left: 0;
	content: "";
	display: block;
	width: 100%;
	height: 100%;
	background: #000;
	opacity: 0;
	transition: .3s
}
#movie button.modal_youtube_btn:hover::after{
	opacity: .2;
}
.modal{
	display: none;
	height: 100vh;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 9999;
}

.modal_bg{
	background: rgba(0, 0, 0, 0.7);
	height: 100vh;
	position: absolute;
	width: 100%;
}
.modal_content{
	width: 100%;
	max-width: 920px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}
@media screen and (max-width: 768px) {
	.modal_content{
		padding: 0 10px
	}
}

.modal_content iframe{
	border: 2px solid #000;
}
.md_close_btn{
	position: absolute;
	right: 0;
	top: -1.6em;
	padding: 0;
	background-color: inherit;
	border: none;
	font-size: 1.4rem;
	letter-spacing: 2px;
	line-height: 1;
	color: #fff;
  font-family: "Bona Nova SC", serif;
	transition : all 0.5s ease 0s;
	cursor: pointer;
}
@media screen and (max-width: 768px) {
	.md_close_btn{
		font-size: 1.2rem;
	}
}
.md_close_btn:hover{
	opacity: .8
}
.md_close_btn span{
	display: inline-block;
	font-size: 1.4em;
	margin-right: 5px;
}
.youtube {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}
.youtube iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
}