@charset "utf-8";
/* CSS Document */
#hero {
	width: 100%;
  height: 100vh;
  background: url("../img/bg.jpg") top center no-repeat;
  background-size: cover;
  position: relative;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100% !important;
  height: 100% !important;
  transform: translate(-50%, -50%);
  object-fit: cover; /* これが重要：アスペクト比を保って全画面化 */
  z-index: 0;
}
/* メディアクエリによる背景画像の切り替え（そのまま保持してOK） */
@media (min-width: 1200px) {
  #hero { background-image: url("../img/bg.jpg"); }
}
@media screen and (min-width: 430px) and (max-width: 768px) {
  #hero { background-image: url("../img/bg-md.jpg"); }
}
@media screen and (max-width: 429px) { 
  #hero { background-image: url("../img/bg-small.jpg"); }
}

/* 既存のオーバーレイ設定（z-indexを1に設定） */
#hero:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1; /* 動画（0）より上で、コンテンツ（2）より下 */
}

/* コンテンツを最前面に（z-indexを2に設定） */
#hero .hero-container {
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 0 15px;
  z-index: 2; /* 確実にオーバーレイの上に表示 */
}
#hero img {
	padding: 10px 30px;
	margin-top: 30px;
}
#hero h1 {
	margin: 0;
	font-family: "Ubuntu", sans-serif;
	font-size: 48px;
	font-weight: 500;
	line-height: 56px;
	color: #fff;
	margin-bottom: 20px;
}
#hero h2 {
	color: #eee;
	font-size: 28px;
	font-weight: 400;
	letter-spacing: 0.08em;
	margin-top: 15px;
}
#hero h2 span {
	color: #eee;
	font-size: 20px;
}
#hero h3 a {
	font-size: 30px;
	color: #eee;
	border-bottom:dotted;/*下線を点線にする*/
	border-color:#eee;
	border-width: 2px;
	font-weight: normal;
}
#hero h3 a:hover {
	opacity: 0.8}

#hero p {
	color: #eee;
	font-size: 24px;
}
#hero .btn-get-started {
	font-weight: 400;
	font-size: 18px;
	letter-spacing: 1px;
	display: inline-block;
	padding: 8px 30px 9px 30px;
	border-radius: 50px;
	transition: 0.5s;
	border: 2px solid #fff;
	color: #fff;
}
#hero .btn-get-started:hover {
	background: #e43c5c;
	border: 2px solid #e43c5c;
}
@media (min-width: 1024px) {
	#hero {
		background-attachment: fixed;
	}
}
@media (max-width: 768px) {
	#hero h3 {
		font-size: 22px;
	}
	#hero h1 {
		font-size: 28px;
		line-height: 36px;
	}
	#hero h2 {
		font-size: 18px;
		line-height: 24px;
		margin-bottom: 30px;
	}
}
@media (max-height: 500px) {
	#hero {
		height: 150vh;
	}
}
#hero .countdown {
	margin-bottom: 80px;
}
#hero .countdown div {
	text-align: center;
	margin: 10px;
	width: 100px;
	padding: 15px 0;
	background: rgba(255, 255, 255, 0.12);
	border-top: 5px solid #CB593E;
}
#hero .countdown div h3 {
	font-weight: 700;
	font-size: 44px;
	margin-bottom: 15px;
	color: #fff;
}
#hero .countdown div h4 {
	font-size: 16px;
	font-weight: 600;
	color: #fff;
}
@media (max-width: 575px) {
	#hero .countdown div {
		width: 70px;
		padding: 10px 0;
		margin: 10px 8px;
	}
	#hero .countdown div h3 {
		font-size: 28px;
		margin-bottom: 10px;
	}
	#hero .countdown div h4 {
		font-size: 14px;
		font-weight: 500;
	}
}

.intro,
.program,
.contact{
background-color: #ffffff;
background-image: url("https://www.transparenttextures.com/patterns/p5.png");
}
.about,
.access{
background-color: #ff7703;
background-image: url("https://www.transparenttextures.com/patterns/p5.png");
}

.intro-wrapper{
	padding: 58px 0px;
}
.contact a:link {
	color: #666666;
	border-bottom:dotted;/*下線を点線にする*/
	border-color:#666666;
	border-width: 2px;
}
.contact a:hover, a:focus {
	color: #b3b3b3;
	border-bottom: none;
}
.intro h4{
	font-size: 24px;
	font-weight: normal;
}
.btn-pink{
	background: #e43c5c;
	border: 0!important;
	padding: 10px 28px;
	color: #fff!important;
	border-radius: 50px;
}
.btn-pink:hover {
	background: #d01d3f;
	color: #fff!important;
	text-decoration: none;
}
/* about */
.about-wrapper{
	padding: 58px 0px;
}
.about p,
.access p {
	color: #000;
}
.access a:link {
	color: #000;
	border-bottom:dotted;/*下線を点線にする*/
	border-color:#121212;
	border-width: 2px;
}
.access a:hover, a:focus {
	color: #575656;
	border-bottom: none;
}

/* contact */
.contact .info {
	width: 100%;
}
.contact .info i {
	font-size: 20px;
	color: #665700;
	float: left;
	width: 44px;
	height: 44px;
	background: #ffd700;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 50px;
	transition: all 0.3s ease-in-out;
}
.contact .info h4 {
	padding: 0 0 0 60px;
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 5px;
	color: #1a1a1a;
}
.contact .info p {
	padding: 0 0 0 60px;
	margin-bottom: 0;
}
.contact .info .email, .contact .info .phone, .contact .info .hour {
	margin-top: 40px;
}
.contact .info .email:hover i, .contact .info .address:hover i, .contact .info .phone:hover i, .contact .info .hour:hover i {
	background: #CB593E;
	color: #fff;
}
.form-control{
	display: block;
	width: 100%;
	margin-bottom: 15px;
	background-color: rgba(51, 43, 0, 0.1);
	color: #333333;
}
/* for Webkit */
.form-control::-webkit-input-placeholder{color: #666666;}
/* for Firefox */
.form-control::-moz-placeholder{color: #666666;}
/* for Firefox 18以前 */
.form-control:-moz-placeholder{color: #666666;}
/* for Windows IE */
.form-control:-ms-input-placeholder{color: #666666;}
.contact .php-email-form button[type=submit] {
	background: #4e4e4e;
	border: 0;
	padding: 10px 28px;
	color: #fff;
	transition: 0.4s;
	border-radius: 50px;
}
.contact .php-email-form button[type=submit]:hover {
	opacity: 0.7
}
