@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Zen+Old+Mincho:wght@400;500;600;700;900&display=swap');
/* =======================================

	CommonElements

======================================= */

html {
	height: 100%;
}

body {
	padding-bottom: 50px;
	min-height: 100%;
	height: auto !important;
	position: relative;
	text-align: center;
	line-height: 180%;
	color: #ffffff;
	background: url("../img/page_bg.jpeg") center center / cover #f8f7f4;
	overflow: hidden;
	z-index: 10;
	font-family: "Zen Old Mincho", serif;
  font-weight: 600;
  font-style: normal;
}

#greeting {
	margin: 40px auto;
	padding-block: 80px 40px;
	width: 95%;
	max-width: 1180px;
	position: relative;
	z-index: 11;
	border-radius: 24px;
	overflow: hidden;
	box-shadow: 3px -3px 15px 0px rgba(199, 224, 201, 1), -3px 3px 15px 0px rgba(242, 231, 186, 1);
}

.bg {
	position: absolute;
	inset: 0;
	mix-blend-mode: color-burn;
	z-index: 4;
	opacity: .6;
}

.bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.bg_deco_yellow {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 3;
	opacity: .6;
}

.bg_deco_yellow img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
}

.bg_deco_green {
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: 2;
}

.bg_deco_green img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
}

.bg_grad {
	position: absolute;
	inset: 0;
	z-index: 1;
}

.bg_grad img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.fv_deco {
	max-width: 400px;
	width: 60%;
	height: fit-content;
	position: absolute;
	top: 40px;
	left: 50%;
  transform: translateX(-50%);
	z-index: 5;
	opacity: 0.5;
}

.fv_deco img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
}

.message {
	width: 100%;
	margin-bottom: 40px;
	padding-inline: 120px;
	position: relative;
	z-index: 29;
	text-align: justify;
	letter-spacing: -0.02em;
	color: #333;
}

p {
	margin: 0 auto 24px;
	line-height: 2.2;
}

.mb0 {
	margin-bottom: 0;
}

.t_a_right {
	text-align: right;
}

.message_list li {
	padding-left: 10px;
	position: relative;
}

.message_list li::before {
	content: "";
	position: absolute;
	width: 3px;
	height: 3px;
	border-radius: 50%;
	display: block;
	background: #333;
	top: 10px;
	left: 0;
}

.title_area {
	max-width: 600px;
	width: 60%;
	margin: 0 auto;
	position: relative;
	z-index: 10;
}

.title_area img {
	width: 100%;
	height: 100%;
}

.horse_area {
	max-width: 1080px;
	margin: 0 auto;
	display: flex;
	justify-content: center;
	align-items: flex-end;
	position: relative;
	z-index: 12;
}

.horse_white_wrap,.horse_brown_wrap {
	position: relative;
}

.horse_white_wrap {
	width: 30%;
	margin-right: -30px;
	padding-bottom: 10px;
}

.horse_white {
	width: 100%;
	height: 100%;
	z-index: 1;
}

.horse_white_shadow {
	position: absolute;
	left: 10%;
	width: 75%;
	height: auto;
	z-index: -1;
	bottom: 4px;
}

.horse_brown_wrap {
	width: 40%;
	margin-left: -30px;
	padding-bottom: 10px;
}

.horse_brown {
	width: 100%;
	height: 100%;
	z-index: 1;
}

.horse_brown_shadow {
	position: absolute;
	left: 12%;
	width: 75%;
	height: auto;
	z-index: -1;
	bottom: 0;
}

.horse_area.anime .horse_brown {
	animation: pakara 2s linear 0s 1;
}

.horse_area.anime .horse_white {
	animation: pakara2 1.8s linear 0s 1;
}

@keyframes pakara {
	0%   { transform: translate(0%, 0%); }
	10%   { transform: translate(0%, 0%); }
  15%   { transform: translate(5%, -2%) rotate(4deg); }
  20%  { transform: translate(10%, -5%) rotate(10deg); }
  30%  { transform: translate(-5%, -10%) rotate(-8deg); }
  35%  { transform: translate(-7%, 0%) rotate(-10deg); }
  45%  { transform: translate(5%, 0%) rotate(8deg); }
  50%  { transform: translate(7%, -2%) rotate(10deg); }
  60%  { transform: translate(-2%, -5%) rotate(-2deg); }
  65%  { transform: translate(-4%, 0%) rotate(-4deg); }
  75%  { transform: translate(0%, 0%) rotate(0deg); }
  100% { transform: translate(0%, 0%) rotate(0deg); }
}

@keyframes pakara2 {
	0%   { transform: translate(0%, 0%); }
	20%   { transform: translate(0%, 0%); }
  25%   { transform: translate(5%, -2%) rotate(4deg); }
  30%  { transform: translate(10%, -5%) rotate(10deg); }
  40%  { transform: translate(-5%, -10%) rotate(-8deg); }
  50%  { transform: translate(-7%, 0%) rotate(-10deg); }
  55%  { transform: translate(5%, 0%) rotate(8deg); }
  65%  { transform: translate(7%, -2%) rotate(10deg); }
  70%  { transform: translate(-2%, -5%) rotate(-2deg); }
  80%  { transform: translate(-4%, 0%) rotate(-4deg); }
  90%  { transform: translate(0%, 0%) rotate(0deg); }
  100% { transform: translate(0%, 0%) rotate(0deg); }
}

.logo {
	margin: 40px auto 0;
	width: 110px;
	position: relative;
	z-index: 13;
}
.logo img {
	width: 100%;
	height: 100%;
}

@media only screen and (max-width: 768px) {
	#greeting {
		width: 95%;
		padding-block: 60px 40px;
		margin: 10px auto;
	}

	#greeting img {
		padding: 0;
	}

	.bg_deco_yellow {
		opacity: .8;
	}

	.bg_deco_yellow,.bg_deco_green {
		width: 120%;
	}

	.message {
		margin: 0 auto 40px;
		padding-inline: 40px;
		letter-spacing: -0.05em;
	}

	.title_area {
		width: 100%;
		padding-inline: 40px;
		margin: 0 auto;
		position: relative;
		z-index: 10;
	}

	.horse_area {
		max-width: 600px;
		padding-inline: 40px;
		justify-content: space-between;
	}

	.horse_white_wrap {
		width: 45%;
		margin-right: 0;
		padding-bottom: 1%;
	}

	.horse_white_shadow {
		bottom: 2px;
	}

	.horse_brown_wrap {
		width: 55%;
		margin-right: 0;
		padding-bottom: 1%;
	}
}

footer {
	width: 100%;
	height: 50px;
	line-height: 50px;
	position: absolute;
	bottom: 0;
	font-size: 10px;
	background: #000000;
	z-index: 999;
}
