@charset "utf-8";
/* CSS Document */
/*HERO*/

#hero {
	padding: 115px 0 0;
}

@media screen and (max-width:1000px) {
#hero {
	padding: 75px 0 0;
}	
}

#hero_img {
	width: 87%;
	margin: 0 0 0 auto;
	background-image: url("../images/top/top.png");
	background-position: top center;
	background-size: cover;
	position: relative;
	height: 620px;
	border-radius: 50px 0 0 50px;
	overflow: hidden;
}

@media screen and (max-width:1200px) {
#hero_img {
	height: 400px;
}	
}

@media screen and (max-width:768px) {
#hero_img {
	width: 95%;
	height: 300px;
	border-radius: 25px 0 0 25px;
}	
}

@media screen and (max-width:500px) {
#hero_img {
	height: 200px;
}	
}





#hero_img figure {
	position: absolute;
	width: 80%;
	max-width: 1400px;
	bottom: -3%;
	right: -1%;
	opacity: 0.7;
}

@media screen and (max-width:600px) {
#hero_img figure {
	position: absolute;
	width: 102%;
}	
}

#hero_img figure img {
	width: 100%;
}

#saiyo_banner {
	width: 72px;
	position: fixed;
	z-index: 3;
	top: 200px;
	right: 0;
}

@media screen and (max-width:1000px) {
#saiyo_banner {
	display: none;
}	
}

/* NEWS */

#news {
	padding: 60px 0;
}

@media screen and (max-width:768px) {
#news {
	padding: 25px 0;
}	
}

#news_container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 30px 30px 30px 170px;
	background-color: #F7F7F7;
	border-radius: 25px;
	max-width: 1300px;
	width: 95%;
	margin: 0 auto;
	position: relative;
}

@media screen and (max-width:768px) {
#news_container {
	padding: 15px 15px 15px 90px;
	border-radius: 20px;

}	
}

@media screen and (max-width:420px) {
#news_container {
	display: block;
	padding: 40px 12px 12px 12px;
	border-radius: 25px;
	width: 90%;
}	
}

#news_container h2 {
	color: #412600;
	font-size: 24px;
	line-height: 1;
	position: absolute;
	top: 50%;
  transform: translateY(-50%); /* 縦方向だけ中央に調整 */
	left: 30px;	
}

@media screen and (max-width:768px) {
#news_container h2 {
	font-size: 13px;
	left: 15px;	
}	
}

@media screen and (max-width:420px) {
#news_container h2 {
	width: 100%;
	font-size: 16px;
	top: 20px;
	left: 0;
	right: 0;
	text-align: center;
}	
}


#news_container li a {
	display: flex;
}

@media screen and (max-width:768px) {
#news_container li a {
	display: block;
}	
}

#news_container li a:hover p {
	color: #DD606D;
}


#news_container li a span {
	color: #784C0F;
	margin: 0 20px 0 0;
	line-height: 1;
}

@media screen and (max-width:768px) {
#news_container li a span {
	font-size: 12px;
}	
}

#news_container li a p {
	color: #878787;
	line-height: 1;
}

@media screen and (max-width:768px) {
#news_container li a p {
	font-size: 13px;
}	
}

#news_ichiran {
	color: #878787;
	line-height: 1;
}

@media screen and (max-width:420px) {
#news_ichiran  {
	padding: 15px 0 0;
	margin: 0 0 0 auto;
}	
}

#news_ichiran a {
	position: relative;
	padding: 0 30px 0 0;
	display: inline-block;
	width: 100%;
}

@media screen and (max-width:768px) {
#news_ichiran a {
	font-size: 13px;
	padding: 0 20px 0 0;
}	
}

@media screen and (max-width:420px) {
#news_ichiran a {
	font-size: 12px;
	text-align: right;
	padding: 0 20px 0 0;
}	
}


#news_ichiran a:hover {
	color: #DD606D;
}

#news_ichiran a::after {
	content: "";
	position: absolute;
	top: 2px;
	right: 0;
	width: 11px;
	height: 16px;
	background-image: url("../images/top/news_yajirusi.png");
	background-position: center;
	background-size: contain;
}

@media screen and (max-width:768px) {
#news_ichiran a::after {
	width: 10px;
	height: 12px;
}	
}


/*service*/


#service {
	position: relative;
	overflow: hidden;
}

#service::before {
	content: "";
	position: absolute;
	z-index: -1;
	bottom: 0;
	width: 120%;
	left: -10%;
	right: -10%;
	height: 70%;
	margin: 0 auto;
	background-color: #FFF6F0;
	border-radius: 50% 50% 0 0;
}

@media screen and (max-width:1000px) {
#service::before {
	width: 200%;
	left: -60%;
	right: -60%;

}	
}


#service_container {
	width: 95%;
	max-width: 1400px;
	margin: 0 auto;
	padding: 20px 0 0;
}


.section_ttl {
	padding: 20px 0 50px;
	position: relative;
}

@media screen and (max-width:768px) {
.section_ttl {
	padding: 20px 0 30px;
}	
}

@media screen and (max-width:420px) {
.section_ttl {
	padding: 0 0 20px;
}	
}

.section_ttl p {
	display: flex;
	justify-content: space-between;
	width: 80px;
	margin: 0 auto 30px;
}

@media screen and (max-width:768px) {
.section_ttl p {
	width: 50px;
	margin: 0 auto 20px;
}	
}

.section_ttl p span {
	width: 17px;
	height: 17px;
	border-radius: 50%;
}

@media screen and (max-width:768px) {
.section_ttl p span {
	width: 9px;
	height: 9px;
}	
}

.section_ttl p span:first-child {
	background-color: #F6B83A;
}

.section_ttl p span:nth-child(2) {
	background-color: #81AF2D;
}

.section_ttl p span:nth-child(3) {
	background-color: #DD606D;
}

.section_ttl h2 {
	font-size: 30px;
	color: #898989;
	text-align: center;
	
}

@media screen and (max-width:768px) {
.section_ttl h2 {
	font-size: 20px;
	
}	
}

@media screen and (max-width:400px) {
.section_ttl h2 {
	font-size: 17px;
	
}	
}




#service_container ul {
	display: flex;
	justify-content: space-between;
}

@media screen and (max-width:1000px) {
#service_container ul {
	flex-wrap: wrap;
}	
}

#service_container ul li {
	width: 22%;
	margin: 0 1%;
	transition: .3s cubic-bezier(0.5, 1, 0.89, 1);
}

@media screen and (max-width:1000px) {
#service_container ul li {
	width: 48%;
	margin: 0 1% 30px; 
}	
}

#service_container ul li:hover {
	transform: scale(1.08);
}


#service_container ul li:first-child {
	padding: 70px 0 0;
}

@media screen and (max-width:1000px) {
#service_container ul li:first-child {
	padding: 0;
}	
}

#service_container ul li:last-child {
	padding: 70px 0 0;
}

@media screen and (max-width:1000px) {
#service_container ul li:last-child {
	padding: 0;
	margin: 0 auto 10px;
}	
}

#service_container ul li a {
	display: inline-block;
	width: 100%;
}

#service_container ul li figure {
	width: 90%;
	max-width: 280px;
	margin: 0 auto 20px;
}



#service_container ul li figure img {
	width: 100%;
}

#service_container ul li h3 {
	font-size: 22px;
	text-align: center;
	color: #7B7B7B;
}

@media screen and (max-width:1300px) {
#service_container ul li h3 {
	font-size: 16px;
}	
}

@media screen and (max-width:420px) {
#service_container ul li h3 {
	font-size: 12px;
}	
}

#service_img {
	width: 100%;
	max-width: 700px;
	margin: -50px auto 0;
}

@media screen and (max-width:1000px) {
#service_img {
	width: 80%;
	max-width: 500px;
	margin: 0 auto 0;
}	
}

/* contents */

#contents {
	padding: 80px 0;
}


#contents_container {
	width: 95%;
	margin: 0 auto;
}

#contents_container ul {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	width: 100%;
	max-width: 1600px;
	margin: 0 auto;
}

@media screen and (max-width:1000px) {
#contents_container ul {
	display: block;
}	
}

#contents_container ul li {
	width: 48%;
	margin: 0 0 40px;
	position: relative;
	transition: .3s cubic-bezier(0.5, 1, 0.89, 1);
}

@media screen and (max-width:1000px) {
#contents_container ul li {
	width: 95%;
	max-width: 600px;
	margin: 0 auto 40px;
}	
}


#contents_container ul li:hover {
	transform: scale(1.03);
}

#contents_container ul li:first-child::before {
	content: "";
	position: absolute;
	z-index: 2;
	width: 90px;
	height: 75px;
	background-image: url("../images/top/contents_1.png");
	background-size: contain;
	background-repeat: no-repeat;
	top: -45px;
	left: 30px;
}

@media screen and (max-width:1000px) {
#contents_container ul li:first-child::before {
	width: 70px;
	height: 50px;
	top: -25px;
	left: 30px;
}	
}

@media screen and (max-width:500px) {
#contents_container ul li:first-child::before {
	width: 50px;
	height: 40px;
	top: -25px;
	left: 10px;
}	
}



#contents_container ul li:nth-child(2)::before {
	content: "";
	position: absolute;
	z-index: 2;
	width: 99px;
	height: 68px;
	background-image: url("../images/top/contents_2.png");
	background-size: contain;
	background-repeat: no-repeat;
	top: -20px;
	left: 40%;
}

@media screen and (max-width:1000px) {
#contents_container ul li:nth-child(2)::before {
	width: 70px;
	height: 50px;
	top: -10px;
	left: 42%;
}	
}

@media screen and (max-width:500px) {
#contents_container ul li:nth-child(2)::before {
	width: 50px;
	height: 40px;
	top: -10px;
	left: 42%;
}	
}


#contents_container ul li:nth-child(3)::before {
	content: "";
	position: absolute;
	z-index: 2;
	width: 99px;
	height: 68px;
	background-image: url("../images/top/contents_3.png");
	background-size: contain;
	background-repeat: no-repeat;
	top: 30px;
	left: -40px;
}

@media screen and (max-width:1000px) {
#contents_container ul li:nth-child(3)::before {
	width: 70px;
	height: 50px;
	top: 30px;
	left: -40px;
}	
}

@media screen and (max-width:500px) {
#contents_container ul li:nth-child(3)::before {
	width: 50px;
	height: 40px;
	top: 30px;
	left: -30px;
}	
}


#contents_container ul li:nth-child(4)::before {
	content: "";
	position: absolute;
	z-index: 2;
	width: 99px;
	height: 68px;
	background-image: url("../images/top/contents_4.png");
	background-size: contain;
	background-repeat: no-repeat;
	top: 20px;
	left: 43%;
}

@media screen and (max-width:1000px) {
#contents_container ul li:nth-child(4)::before {
	width: 70px;
	height: 50px;
	top: 20px;
	left: 44%;
}	
}

@media screen and (max-width:500px) {
#contents_container ul li:nth-child(4)::before {
	width: 40px;
	height: 30px;
	top: 5px;
	left: 49%;
}	
}

#contents_container ul li a {
	display: flex;
	align-items: center;
	width: 100%;
	border-radius: 20px;
	box-shadow: 0px 0px 18px -8px #ababab;
	overflow: hidden;
	background-color: #FFF;
}

.contents_text {
	width: 50%;
}

@media screen and (max-width:768px) {
.contents_text {
	width: 55%;
}	
}

.contents_text h2 {
	font-size: 30px;
	text-align: center;
	color: #7B7B7B;
	padding: 0 0 5px;
}

@media screen and (max-width:1200px) {
.contents_text h2 {
	font-size: 24px;
}	
}

@media screen and (max-width:768px) {
.contents_text h2 {
	font-size: 17px;
}		
}



.contents_text h2 span {
padding: 0 5px 0;
background: linear-gradient(transparent 50%, #C8F2BE 50%);
}

#contents_container li:nth-child(2) .contents_text h2 span {
background: linear-gradient(transparent 50%, #ACD8E5 50%);
}

#contents_container li:nth-child(3) .contents_text h2 span {
background: linear-gradient(transparent 50%, #FFD7A8 50%);
}

#contents_container li:nth-child(4) .contents_text h2 span {
background: linear-gradient(transparent 50%, #EDBCBD 50%);
}


.contents_text p {
	font-size: 16px;
	text-align: center;
	color: #7B7B7B;
	vertical-align: middle;
}

@media screen and (max-width:768px) {
.contents_text p {
	font-size: 12px;
}	
}


@media screen and (max-width:500px) {
.contents_text p {
	font-size: 10px;
}	
}


.contents_img {
	display: block;
	width: 50%;
	height: 220px;
	background-image: url("../images/top/contents.jpg");
	background-size: cover;
	
}

@media screen and (max-width:1200px) {
.contents_img {
	height: 160px;
	
}	
}

@media screen and (max-width:768px) {
.contents_img {
	height: 140px;
	width: 45%;
}	
}

@media screen and (max-width:500px) {
.contents_img {
	height: 100px;
}	
}

#contents_container ul li:nth-child(1) .contents_img {
	background-image: url("../images/top/contents1.jpg");
}



#contents_container ul li:nth-child(2) .contents_img {
	background-image: url("../images/top/contents2.jpg");
}

#contents_container ul li:nth-child(3) .contents_img {
	background-image: url("../images/top/contents3.jpg");
}

#contents_container ul li:nth-child(4) .contents_img {
	background-image: url("../images/top/contents4.jpg");
}

/* sub_contents */

#sub_contents {
	padding: 220px 0 80px;
	background-color: #FFF6F0;
	position: relative;
}

@media screen and (max-width:1000px) {
#sub_contents {
	padding: 100px 0 100px;
}	
}

#sub_contents_ie {
	position: absolute;
	top: -25px;
	left: 30px;
	width: 380px;
	z-index: 2;
}

@media screen and (max-width:1000px) {
#sub_contents_ie {
	top: -25px;
	left: 30px;
	width: 220px;
}	
}

#sub_contents_tree {
	position: absolute;
	top: -65px;
	right: 30px;
	width: 325px;
	z-index: 2;
}

@media screen and (max-width:1000px) {
#sub_contents_tree {
	top: auto;
	right: -3%;
	bottom: 10px;
	width: 160px;
}	
}

#sub_contents_kazoku {
	position: absolute;
	top: -75px;
	right: 460px;
	width: 325px;
	z-index: 2;

}



@media screen and (max-width:1000px) {
#sub_contents_kazoku {
	top: -75px;
	right: 20px;
	width: 180px
}	
}

#sub_contents_container {
	width: 95%;
	max-width: 1600px;
	margin: 0 auto;
}

#sub_contents_container ul {
	display: flex;
	width: 100%;
	max-width: 1600px;
	justify-content: center;
}

@media screen and (max-width:1000px) {
#sub_contents_container ul {
	display: block;
}	
}

#sub_contents_container ul li {
	width: 30%;
	margin: 0 1% 0;
}

@media screen and (max-width:1000px) {
#sub_contents_container ul li {
	width: 100%;
	max-width: 400px;
	margin: 0 auto 16px;
}	
}

#sub_contents_container ul li a {
	width: 100%;
	display: inline-block;
	padding: 30px 25px 26px;
	position: relative;
	text-align: center;
	color: #FFF;
	font-size: 18px;
	background-color: #FFB385;
	border-radius: 15px;
	line-height: 1.1;
	vertical-align: middle;
	transition: .3s cubic-bezier(0.5, 1, 0.89, 1);
}

#sub_contents_container ul li a:hover {
	transform: scale(0.98);
}


#sub_contents_container ul li a::before {
	content: "";
	position: absolute;
	height: 25px;
	width: 14px;
	background-image: url("../images/top/yajirushi_w.png");
	background-repeat: no-repeat;
	background-size: contain;
	right: 25px;
	top: 35%;
}
