@charset "utf-8";
html {
	color: #000;
	font-size: 16px;
	scroll-behavior: smooth;
	touch-action: manipulation;
}

body {
	font-family: "Noto Sans JP", serif;
	background-color: #fff;
	text-align: left;
	line-height: 1.8;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: bottom;
}

a {
	text-decoration: none;
	color: #fff;
}

a:link {
	color: #fff;
}

a:visited {
	color: #fff;
}

.flex {
	display: flex;
}

.grid {
	display: grid;
}

.wrapper {
	max-width: 1280px;
	margin: 0 auto;
	position: relative;
}

.inner {
	max-width: 1000px;
	margin: 0 auto;
	position: relative;
}

.absolute {
	position: absolute;
}

@media screen and (max-width: 768px) {
	.inner {
		margin: 0 5%;
	}
}

main {
	overflow: hidden;
}

/* フッター　footer
----------------------------------------- */
footer {
	text-align: center;
	background-color: #F2FFD0;
	padding-top: 100px;
	position: relative;
}

@media screen and (max-width: 768px) {
	footer {
		padding-top: 70px;
	}
}

footer .title {
	position: absolute;
	top: -14px;
	left: 50%;
	transform: translateX(-50%);
	background-color: #8CC66D;
	padding-top: 4px;
	padding-bottom: 4px;
	color: #fff;
	font-size: 1.5rem;
	width: min(550px, 80%);
}

@media screen and (max-width: 768px) {
	footer .title {
		font-size: 1.125rem;
	}
}

footer .sponsor {
	width: min(500px, 70%);
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 20px;
}

footer .tel {
	width: min(700px, 80%);
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 20px;
}

footer .mail-web {
	justify-content: center;
	gap: 60px;
	font-weight: bold;
	margin-bottom: 80px;

	& .mail,.web {
		position: relative;
	}

	& .mail::before {
		content: "";
		display: inline-block;
		background-image: url('../img/icon_mail.png');
		background-size: cover;
		background-repeat: no-repeat;
		width: 35px;
		height: 26px;
		position: absolute;
		left: -40px;
		top: 50%;
		transform: translateY(-50%);
	}

	& .web::before {
		content: "";
		display: inline-block;
		background-image: url('../img/icon_web.png');
		background-size: cover;
		background-repeat: no-repeat;
		width: 30px;
		height: 30px;
		position: absolute;
		left: -36px;
		top: 50%;
		transform: translateY(-50%);
	}
}

@media screen and (max-width: 768px) {
	footer .mail-web {
		display: inline-block;
		margin-bottom: 60px;
	}

	& .mail {
		margin-bottom: 16px;
		text-align: left;
	}
}

footer .txt-bottom {
	background-color: #30AF60;
	color: #fff;
	padding-top: 26px;
	padding-bottom: 26px;
}

@media screen and (max-width: 768px) {
	footer .txt-bottom {
		padding-top: 12px;
		padding-bottom: 100px;
		font-size: 0.75rem;
		padding-left: 8px;
		padding-right: 8px;
	}
}

/*===ジェイクエリー==========================*/
/* フェードイン前 */
.element {
	/* 最初は非表示 */
	opacity: 0;
	visibility: hidden;
	transform: translateY(30px);
	transition: opacity 1s, visibility 1s, transform 1s;
}

.fade {
	/* 最初は非表示 */
	opacity: 0;
	visibility: hidden;
	transform: translateY(50px);
	transition: opacity 1.5s, visibility 1s, transform 1.5s;
}

/* フェードイン時に入るクラス */
.is-fadein {
	opacity: 1;
	visibility: visible;
	transform: translateX(0);
}

.textfadeArea h2 span {
	color: transparent;
	display: inline-block;
	position: relative;
}

.textfadeArea h2 span::before {
	content: "";
	display: inline-block;
	width: 0;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
	z-index: 1;
	background: #047DFF;
}

.textfadeArea h2.move span {
	animation: textAnime forwards 1s 1 ease 0.3s normal;
}

.textfadeArea h2.move span::before {
	animation: barAnime forwards 0.7s 1 ease 0.5s normal;
}

@keyframes barAnime {
	0% {
		left: 0;
		width: 0;
	}
	50% {
		left: 0;
		width: 100%;
	}
	51% {
		left: 0;
		width: 100%;
	}
	68% {
		left: 0;
		width: 100%;
	}
	100% {
		left: 100%;
		width: 0;
	}
}
@keyframes textAnime {
	0% {
		color: transparent;
	}
	50% {
		color: transparent;
	}
	100% {
		color: #fff;
	}
}
