@charset "uft-8";
/*===================================================================
CSS information

 file name       : event2.css
 created         : 2020-02-26
 last Modified   : 2020-04-01
 editor(s)       : itou
 last Editor     : fujimoto
 style info      : EVENTページレイアウト
=================================================================== */

body {
	font-family: "Sawarabi Mincho"!important; 
}

h2 {
	position: relative;
	margin: 2em;
	font-size: 28px;
}

h2::after {
	position: absolute;
	content: '';
	bottom: -8px;
	width: 100%;
	height: 5px;
	display: block;
	background: linear-gradient(to right, transparent, #00a3af, transparent);
}

.bg {
	position: relative;
	max-width: 100%;
}

.bg img {
	margin: 2em auto 0 auto;
	border-radius: 800px / 600px;
	width: 100%;
	height: auto;
}

#sec01 p {
	padding: auto;
	margin: 2em;
	font-size: 20px;
	font-weight: bold;
}

h3 {
	text-align: left !important;
	position: relative;
	padding: 8px;
	margin: 60px 40px;
	border-left: solid 3px #00533f;
	font-size: 23px;
}

h3:first-letter {
	color: #a8c97f;
	font-size: 30px;
}
	
h3::after {
	position: absolute;
	content: '';
	bottom: 3px;
	left: -10px;
	width: 100%;
	height: 3px;
	display: block;
	background: -webkit-linear-gradient(to right, grb(118, 145, 100), #ffec47, transparent);
	background: linear-gradient(to right,rgb(0, 83, 63), #a8c97f, transparent);
}

.box {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	margin-bottom: 3em;
}

.box:nth-child(odd), #animation5 .box {
	flex-direction: row-reverse;
}

.box2 {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	max-width: 100%;
}

.pict {
	margin: 0 3em;
}

.box .pict, .box .text {
	width: 50%;
	height: 100%;
}

.box2 .pict {
	width: 65%;
	height: 100%;
}

.pict img {
	border-radius: 30px;
	max-width: 100%;
}

.text {
	padding: 2.5em;
	margin: 1em;
	font-size: 17px;
}

.text-style {
	font-size:110%;
	line-height:1.5;

}

#animation {

}

.fadeInDown {
	-webkit-animation-fill-mode:both;
	-ms-animation-fill-mode:both;
	animation-fill-mode:both;
	-webkit-animation-duration:2s;
	-ms-animation-duration:2s;
	animation-duration:2s;
	-webkit-animation-name: fadeInDown;
	animation-name: fadeInDown;
	visibility: visible !important;
}

@-webkit-keyframes fadeInDown{
	0% { opacity: 0; -webkit-transform: translateY(-20px); }
  100% { opacity: 1; -webkit-transform: translateY(0); }
}

@keyframes fadeInDown {
	0% { 
	opacity: 0; 
	-webkit-transform: translateY(-20px); 
	-ms-transform: translateY(-20px); 
	transform: translateY(-20px); 
}
	100% { 
	opacity: 1; 
	-webkit-transform: translateY(0); 
	-ms-transform: translateY(0);
	transform: translateY(0); 
}

}

/*scroll botton*/

#page_top {
	position: fixed;
	right: 18px;
	bottom: 33px;
	width: 35px;
	height: 45px;
	opacity: 0.6;
}

#page_top a {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	text-align: center;
	text-decoration: none;
}

#page_top a::before {
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	content: '\f102';
	font-size: 18px;
	color: #004d25;
	position: absolute;
	width: 30px;
	height: 30px;
	top: 0;
	bottom: 10px;
	right: 0;
	left: 0;
	margin: auto;
	z-index: 2;
}

#page_top a::after {
	content: 'PAGE TOP';
	font-size: 11px;
	font-weight: 900;
	color: #004d25;
	position: absolute;
	top: 23px;
	bottom: 0;
	right: 0;
	left: 0;
	margin: auto;
	z-index: 2;
}

#page_top::before, #page_top::after{
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	transition: all 0.4s;
	border: 1px solid rgba(156,187,28,1);
	background-color: rgba(219,235,196,0.6);
}

#page_top:hover::before {
	transform: rotate(-45deg);
	background-color: rgba(161,227,227,0.6);
}

#page_top:hover::after {
	transform: rotate(45deg);
	background-color: rgba(247,255,204,0.6);
}

/*レスポンシブ対応*/

@media only screen and (min-width: 961px) {

#page_top {
	width: 50px;
	height: 60px;
}

#page_top a::before {
	font-size: 18px;
	bottom: 20px;
}

#page_top a::after {
	font-size: 13px;
	top: 25px;
}

}

@media only screen and (max-width: 760px) {

h2 {
	font-size: 20px;
}

#sec01 p {
	font-size:15px;
}

.box, .box:nth-child(odd), #animation5 .box {
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.pict, .text {
	width: 80% !important;
}

}
