@charset "utf-8";
/* CSS Document */
/*====================
 - 1280px〜：大型PC
 - 960px〜1279px：小型PC
 - 600px〜959px：タブレット
 - 480px〜599px：スマートフォン横
 - 〜479px：スマートフォン縦
====================*/

/***** home_common *****/
.home section {
	padding: 6.8rem 0;
}
.home_wrap{
	width: 90%;
	margin-left: auto;
	margin-right: auto;
}
.home #service .title_text{
	margin-bottom: 4rem;
}
  @media screen and (max-width:1024px){
	.home section {
		padding: 4.8rem 0;
	  }
	  .home main .btn_wrap{
		text-align: center;
	}
  }
  /***** home_hero *****/
  .hero_wrap img{
	height: calc(100vh);
  }
   .slide {
	overflow   : hidden;
	top: 0;
	left: 0;
	width      : 100%;
	height     : 92vh;
	margin     : auto;
  }
  .slide img {
	display    : block;
	position   : absolute;
	width      : 100%;
	height     : 100%;
	object-fit: cover;
	opacity    : 0;
	animation  : slideAnime 18s ease infinite;
	border-radius: 0%;
  }
   
  .slide img:nth-of-type(1) { animation-delay: 0s;
	object-position: 80% 50%; }
  .slide img:nth-of-type(2) { animation-delay: 6s;
	object-position: 10% 50%; }
  .slide img:nth-of-type(3) { animation-delay: 12s;
							  object-position: 50% 50%; }
   
  @keyframes slideAnime{
	 0% { opacity: 0; }
	16% { opacity: 1; }
	34% { opacity: 1; }
	50% { opacity: 0; }
   100% { opacity: 0; }
  }
  .slide-bg {
	position: relative;
	inset: 0;
	z-index: -1;
	overflow: hidden;
  }
  .catch_wrap{
	font-weight: 700;
  }
  .hero_name{
	font-size: clamp(4rem,8vw,7.2rem);
	font-weight: 700;
	line-height: 1.2;
  }
  .hero_name .jp{
	font-size: clamp(4rem,8vw,6rem);
  }
  .catch{
	font-size: clamp(2.4rem,4.8vw,4rem);
  }
#side {
	position: relative;
	top: 0;
	width: 280px;
	height: 100vh;
	text-align: center;
}
#side .wrap{
	margin: 1.2rem 0 1.2rem 4rem;
}
#side .side_box{
	border: 4px solid #00A145;
	background: #fefefe;
	border-radius: 12px;
	padding: 2.4rem 2.4rem .8rem;
	line-height: 1;
}
#side .side_box .side_box_intro{
	border-bottom: 1px dashed #00A145;
	padding-bottom: 2rem;
	line-height: 1.4;
}
#side .side_box a{
	display: block;
}
#side .side_box .logo_egao{
	margin: 2.8rem 0;
}
#side .side_box h3{
	font-weight: 700;
	font-size: 2.2rem;
	margin-top: .4rem;
}
#side .side_box .logo_relay h3{
	font-size: 1.8rem;
}
#side .side_add{
	font-size: 1.4rem;
	margin-bottom: .4rem;
}
#side .side_bottom{ 
	font-size: 2.8rem;
	margin-top: 1.2rem;
}
.monthday_weekday{
	display: flex;
	justify-content: center;
	align-items: center;
	line-height: 1;
}
#side .side_bottom #monthday{
	font-size: 4.8rem;
}
#side .side_bottom #weekday{
	background-color: #00A145;
	border-radius: .8rem;
	color: #fefefe;
	font-size: 2.2rem;
	padding: .8rem .8rem .4rem .8rem;
	margin-left: .8rem;
}
#side a{
	transition: all .3s;
}
#side a:hover{
	opacity: .6;
}
  @media screen and (max-width:1024px){
	.slide img{
		height: calc(100% - 80px);
	}
	.catch_wrap{
		position: relative;
		width: 100%;
		height: 100%;
		top: 0;
		transform: translateY(-50%);
		font-size: clamp(2rem,4vw,2.4rem);
	  }
	  .catch{
		position: absolute;
		bottom: 4rem;
		transform: translateY(-50%);
		width: fit-content;
	  }
	  .catch .inner{
		margin: 1.2rem;
		padding: 1vw 2vw;
		background-color: #fefefe;
		width: fit-content;
	  }
  }

  @media screen and (min-width:1025px){
	.sh_wrap{
		width: 90%;
		height: 92vh;
		margin: 0 auto;
		max-width: 1728px;
		display: flex;
		justify-content: space-between;
		align-items: flex-start;
		
	  }
	.slide img,#side{
		margin-top: calc(92px + 3.6vh);
	  }
	.slide img{
		max-width: 1342px;
		max-height: 764px;
		width: calc(100% - 280px - 4rem - 2.2% - 5%);
		height: 64vh;
	}
	.catch_wrap{
		position: absolute;
		width: fit-content;
		bottom: 0;
		transform: translateY(-50%);
	  }
	  .catch{
		top: 2vh;
		font-size: clamp(2.4rem,3vw,4rem);
	  }
  }
  @media screen and (min-width:1400px) and (max-width:1834px){
	.slide img{
		width: calc(100% - 280px - 4rem - 3.2% - 5%);
	}
  }
  @media screen and (min-width:1025px) and (max-width:1224px){
	.slide img{
		border-radius: 180px;
	}
  }
  @media screen and (min-width:1225px){
	.slide img{
		border-radius: 1000px;
	}
  }

/*** home_activities home_about ***/
.home section#home_activities{
	background-color: #00A145;
	color: #fefefe;
	padding: 12rem 0 16rem;
}
.home section#home_about{
	padding-top: 0;
	padding-bottom: 10rem;
}
main section#home_about{
	margin-top:0;
}
#home_about::before{
	content: '';
    position: absolute;
	width: 100%;
	height: 20vh;
	background-color: #00A145;
	z-index: -2;
}
#home_about::after{
	content: '';
    position: absolute;
    width: 95%;
    left: 5%;
    height: 100%;
    background-color: #FFFFEC;
    border-radius: 80px 0 0 80px;
    margin-left: auto;
	top: 0;
	z-index: -1;
}
#home_about .home_wrap{
	position: relative;
	padding-top: 10rem;
}
#home_about .text_img_list .img_outer{
	order: 2;
}
@media screen and (min-width:1025px){
	main section#home_activities {
        margin-top: 120px;
    }
	#home_activities .home_wrap,#home_about .home_wrap{
		padding-left: 6rem;
		padding-right: 4rem;
	}
}
@media screen and (max-width:1024px){
	#home_about::after{
		width: 100%;
		left: 0;
		margin-left: 0;
	}
}

/*** home_evaluation ***/
main section#home_evaluation{
	margin-top: 4rem;
}
