@charset "UTF-8";

/* =============== お知らせ機能 =============== */
.mybox {
	background-color: #fff;
	/* 背景色 */
	border: 4px solid #FFDF28;
	/* 線の太さ・種類・色 */
	border-radius: 5px;
	margin: 40px 20px 20px 20px;
	/* 外側の余白 上・右・左・下 */
	padding: 25px 20px 10px 20px;
	/* 内側の余白 上・右・左・下 */
	position: relative;
}

.mybox:before {
	background-color: #FFDF28;
	/* 吹き出し背景色 */
	border-radius: 5px;
	color: rgb(179, 9, 9);
	/* 吹き出し文字色 */
	content: '重要なお知らせ';
	font-weight: bold;
	padding: 5px 20px;
	position: absolute;
	left: -10px;
	top: -20px;
}

.mybox:after {
	border-top: 12px solid #FFDF28;
	/* 吹き出し三角部分の色 */
	border-right: 12px solid transparent;
	border-left: 12px solid transparent;
	content: '';
	position: absolute;
	top: 10px;
	left: 15px;
}
/* =============== end お知らせ機能 =============== */

/* =============== hero =============== */
#hero {
	width: 100%;
	background: #5DADE2;
	color: #fff;
}

#hero .inner {
	margin: 3rem auto 0 auto;
	padding: 2rem;
	text-align: center;
	max-width: 1400px;
}

.mainCopy {
	font-size: 1.5rem;
	letter-spacing: .3rem;
	padding: 1rem 0;
}

@media screen and (max-width: 980px) {
	.mainCopy {
		font-size: 1.2rem;
		letter-spacing: 0;
	}
}

@media screen and (max-width: 500px)( max-height: 500px;
) {
	#hero .inner img {
		width: 80%;
	}
}

#hero .inner .text {
	display: inline-block;
}

#hero .inner p {
	font-size: 1.5rem;
}

#hero .inner .bt {
	background: url(../img/arrow-simple-right-color.png) no-repeat 90% 50%;
	background-size: .8rem;
	background-color: #fff;
	font-size: 1.2rem;
	text-align: center;
	width: 30%;
	margin: 0 auto;
}

@media screen and (max-width: 980px) {
	#hero .inner .bt {
		background: url(../img/arrow-simple-right-color.png) no-repeat 90% 50%;
		background-size: .8rem;
		background-color: #fff;
		width: 85%;
	}
}

#hero .inner .bt a {
	color: #5DADE2;
	display: block;
	padding: 1rem;
}

#hero .inner .bt a:hover {
	background-color: rgba(136, 201, 251, 0.5);
}

#hero .inner img {
	max-height: 500px;
}
/* =============== end hero =============== */

/* =============== bottom content =============== */
#bottom {
	background: url(../img/foot-bg.png) bottom repeat-x;
	background-color: rgba(182, 223, 250, 0.15);
	background-size: 35rem;
	color: #333;
}

#bottom .inner {
	max-width: 1400px;
	padding: 2rem 0 5rem 0;
}

#bottom .inner .box {
	position: relative;
	min-height: 290px;
	padding: 3rem 6% 0 48%;
	background: #ffffff;
	border-radius: 1rem;
	margin: 2rem;
	overflow: hidden;
}
@media screen and (max-width: 1023.97px) {
#bottom .inner .box {
	min-height: auto;
	}
}

#bottom .inner .box h2 {
	position: relative;
	margin: 0 0 1.5em;
	padding: 10px 0 10px 55px;
	color: #5DADE2;
	font-size: 1.3rem;
	font-weight: 700;
}
@media screen and (max-width: 767.98px) {
#bottom .inner .box h2 {
	margin: 0 0 .5em;
	}
}

#bottom .inner .box h2 img {
	position: absolute;
	left: 0px;
	top: 50%;
	transform: translateY(-50%);
	display: block;
	width: 50px;
	height: 50px;
}

#bottom .inner .box p {
	margin: 0 0 1.5em;
	line-height: 1.8em;
}

#bottom .inner .box p span {
	display: block;
	font-size: .8rem;
}

#bottom .inner .bt {
	background: url(../img/arrow-simple-right.png) 95% no-repeat;
	background-size: .8rem;
	background-color: #5DADE2;
	border-radius: 1.5rem;
	margin: .5rem 10%;
	width: 80%;
}

#bottom .inner .bt a {
	color: #fff;
	display: block;
	font-weight: bold;
	letter-spacing: .3rem;
	padding: 1rem 0;
	text-align: center;
	width: 100%;
	}

#bottom .inner .box img {
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	display: block;
	width: 45%;
}

@media screen and (max-width: 767.98px) {
	#bottom .inner {
		margin: 0 5%;
		width: auto;
	}
	#bottom .inner .box {
		margin: 2rem .5rem;
		padding: 1rem;
	}
	#bottom .inner .bt {
		margin: 1rem 10%;
		width: 80%;
	}
	#bottom .inner .box img {
		position: relative;
		left: auto;
		top: auto;
		transform: translateY(0%);
		width: 100%;
		border-radius: 1rem;
	}
}
/* =============== end bottom content =============== */
