@charset "UTF-8";
/* CSS Document */

body {
    font-family: "Yu Gothic", "Yu Gothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック";
    font-size: 16px;
	color: #1a174e;
}

@media screen and (max-width: 414px) {
	body {font-size: 3.382vw;}
}

#wrap {
    width: 100%;
    margin: 0 auto;
    overflow:hidden;
	text-align: center;
}

.none,.pad,.pad1,.pad2,.sp {display: none;}

@media screen and (max-width: 820px) {
	.pc {display: none;}
	.pad,.pad1 {display: inline-block;}
}

@media screen and (max-width: 768px) {
	.pad1 {display: none;}
	.pad2 {display: inline-block;}
}

@media screen and (max-width: 640px) {
	.pad,.pad2 {display: none;}
	.sp {display: inline-block;}
}

a:hover {opacity: 0.7;}

h2 {
	font-size: 36px;
	font-weight: bold;
}

h3 {
	font-weight: bold;
	color: #865e9c;
}

@media screen and (max-width: 820px) {
	h2 {font-size: 30px;}
}

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

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

/**********************************************************************************

header

**********************************************************************************/

header {
	width: 100%;
	margin: 0 auto;
}

header h1 {
	position: fixed;
	z-index: 9999;
	top: 0;
	left: 0;
}

header h1,header h1 a, header h1 a img {
	width: 100%;
	max-width: 252px;
}

@media screen and (max-width: 414px) {
	header h1 {width: 40%;}
}

/**********************************************************************************

navi

**********************************************************************************/

#g-nav{
    position:fixed;
    z-index: 999;
	top:0;
    right: -120%;
	width:100%;
    height: 100vh;
	background:rgba(94, 170, 140, 0.9);
	transition: all 0.6s;
}

#g-nav.panelactive{right: 0;}


#g-nav.panelactive #g-nav-list{
    position: fixed;
    z-index: 999; 
    width: 100%;
    height: 100vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

#g-nav .innerbox {
	width: 60%;
    position: absolute;
    z-index: 999;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
	font-size: 20px;
}

#g-nav li {
	list-style: none;
    text-align: center;
	color: #fff;
}

#g-nav ul {padding: 0;}

#g-nav li a {
	color: #fff;
	text-decoration: none;
	padding: 20px;
	display: block;
	letter-spacing: 0.1em;
	font-weight: bold;
}

@media screen and (max-width: 1200px) {
	#g-nav .innerbox {width: 90%;}
}

@media screen and (max-width: 900px) {
	#g-nav .innerbox {font-size: 18px;}
}

@media screen and (max-width: 640px) {
	#g-nav li a {padding: 15px;}
}

@media screen and (max-width: 414px) {
	#g-nav li a {padding: 10px;}
}

.openbtn {
	position:fixed;
    z-index: 9999;
	top:0;
	right: 0;
	cursor: pointer;
    width: 60px;
    height: 60px;
	background-color: #865e9c;
}

.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
	background-color: #f2e0ae;
  	width: 55%;
  }

.openbtn span:nth-of-type(1) {
	top:15px;	
  	width: 55%;
}

.openbtn span:nth-of-type(2) {
	top:28px;
  	width: 45%;
}

.openbtn span:nth-of-type(3) {
	top:41px;
  	width: 30%;
}

.openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-135deg);
    width: 40%;
	background-color: #f2e0ae;
}

.openbtn.active span:nth-of-type(2) {opacity: 0;}

.openbtn.active span:nth-of-type(3){
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(135deg);
    width: 40%;
	background-color: #f2e0ae;
}


/**********************************************************************************

#main

**********************************************************************************/
#main {
	width: 100%;
	height: 100vh;
	background: url("../images/fv.jpg") no-repeat;
	background-size: cover;
	background-position: center;
}

@media screen and (max-width: 640px) {
	#main {height: 50vh;}
}

/**********************************************************************************

#contents01

**********************************************************************************/
#contents01,#contents03 {
	width: 100%;
	max-width: 1100px;
}

#contents02,#contents04 {
	width: 100%;
	background-color: #f2e0ae;
	margin: 0 auto;
}
#contents02 .box,#contents04 .box {
	width: 100%;
	max-width: 1100px;
}

@media screen and (max-width: 1300px) {
	#contents01,#contents03 {width: 90%;}
	#contents02 .box,#contents04 .box {width: 90%;}
}

#contents01 {
	margin: 60px auto;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}

#contents01 .left {
	position: relative;
	text-align: left;
}

#contents01 .left img {
	position: absolute;
	width: 100%;
	max-width: 190px;
	z-index: 1;
}

#contents01 .left .box {
	position: relative;
	z-index: 2;
	margin: 110px 0 0 50px;
}

#contents01 .left .box h2 {margin-bottom: 110px;}
#contents01 .left .box h3 {
	font-size: 48px;
	line-height: 1.5em;
	margin-right: 50px;
}

#contents01 .right {
	width: 100%;
	max-width: 550px;
	margin-top: 40px;
}

#contents01 .right img {width: 100%;}

@media screen and (max-width: 1150px) {
	#contents01 .right {width: 40%;}
}

@media screen and (max-width: 1080px) {
	#contents01 .left .box h3 {font-size: 40px;}
}

@media screen and (max-width: 820px) {
	#contents01 .left img {width: 40%;}
	#contents01 .left .box {margin: 80px 0 0 30px;}
	#contents01 .left .box h2 {margin-bottom: 80px;}
	#contents01 .left .box h3 {
		font-size: 36px;
		margin-right: 30px;
	}
}

@media screen and (max-width: 640px) {
	#contents01 {display: block;}
	#contents01 .left img {width: 20%;}
	#contents01 .left .box {
		top: 50px;
		left: 50px;
		margin: 0 auto;
	}
	#contents01 .left .box h3 {margin-right: 0;}
	#contents01 .right {
		width: 100%;
		margin: 100px auto 0 30px;
		text-align: center;
	}
}

@media screen and (max-width: 500px) {
	#contents01 .left .box {
		top: 30px;
		left: 30px;
	}
	#contents01 .right {margin: 80px auto 0 20px;}
}

/**********************************************************************************

#contents02

**********************************************************************************/
#contents02 .box {
	position: relative;
	margin: 0 auto;
	padding: 100px 0;
}

#contents02 .box h2,#contents03 .box h2,#contents04 .box h2 {margin-bottom: 100px;}

#contents02 .box ul {
	position: relative;
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	z-index: 2;
}

#contents02 .box ul li {
	background-color: #fff;
	width: 100%;
	max-width: 300px;
	padding: 40px 30px 30px 30px;
	border-top-left-radius: 30px;
	
}

#contents02 .box ul li h3 {
	font-size: 24px;
	line-height: 1.5em;
	margin-bottom: 40px;
}

#contents02 .box ul li p {
	text-align: justify;
	line-height: 1.5em;
	margin-bottom: 30px;
}

#contents02 .box ul li img {
	width: 100%;
	max-width: 240px;
}

#contents02 .back01,#contents02 .back02,#contents02 .back03{
	position: absolute;
	z-index: 1;
}

#contents02 .back01 {
	top: 60px;
	left: 130px;
	width: 100%;
	max-width: 220px;
}

#contents02 .back02 {
	top: 50px;
	right: 0;
	width: 100%;
	max-width: 272px;
}

#contents02 .back03 {
	left: 0;
	bottom: 50px;
	width: 100%;
	max-width: 149px;
}

#contents02 .front {
	position: absolute;
	z-index: 3;
	top: 110px;
	left: 0;
	width: 100%;
	max-width: 200px;
}

@media screen and (max-width: 1100px) {
	#contents02 .box ul li {width: 30%;}
	
	#contents02 .box ul li h3 {
		font-size: 20px;
		margin-bottom: 30px;
	}
	
	#contents02 .back01 {
		top: 60px;
		left: 50px;
		width: 30%;
	}

	#contents02 .back02 {
		top: 50px;
		right: -30px;
		width: 30%;
	}
	
	#contents02 .back03 {
		left: -50px;
		bottom: 50px;
		width: 30%;
	}
}

@media screen and (max-width: 820px) {
	#contents02 .front {
		top: 100px;
		width: 25%;
	}
}


@media screen and (max-width: 640px) {
	#contents02 .box {padding: 80px 0;}
	#contents02 .box h2,#contents03 .box h2,#contents04 .box h2 {margin-bottom: 80px;}
	#contents02 .box ul {display: block;}
	#contents02 .box ul li {
		width: 100%;
		max-width: 400px;
		margin: 0 auto 50px;
	}
	#contents02 .box ul li:last-child {margin-bottom: 0;}
	
	#contents02 .back01 {left: 0;}
	
	#contents02 .front {
		top: 100px;
		left: 10px;
		width: 30%;
	}
}

@media screen and (max-width: 414px) {
	#contents02 .box {padding: 60px 0;}
	#contents02 .box h2,#contents03 .box h2,#contents04 .box h2 {margin-bottom: 60px;}
	#contents02 .box ul li {
		max-width: 300px;
		margin: 0 auto 30px;
	}
	
	#contents02 .back03 {bottom: 20px;}
}

/**********************************************************************************

#contents03

**********************************************************************************/
#contents03 {
	position: relative;
	overflow: hidden;
	margin: 0 auto;
}

#contents03 .box {
	position: relative;
	margin: 0 auto;
	padding: 100px 0;
	width: 100%;
	max-width: 1000px;
	z-index: 2;
}

#contents03 .box div {
	width: 100%;
	margin: 0 auto;
	line-height: 1.5em;
	background-color: #f2e0ae;
	border-top-left-radius: 30px;
	padding: 40px 70px;
}

#contents03 .box div table {
	width: 100%;
	margin: 0 auto;
	border-collapse: collapse;
	text-align: left;
}

#contents03 .box div table th,#contents03 .box div table td {
	border-bottom: 1px solid;
	padding: 20px;
}

#contents03 .box div table tr:last-child th,#contents03 .box div table tr:last-child td {border-bottom: none;}

#contents03 .back01,#contents03 .back02,#contents03 .back03{
	position: absolute;
	z-index: 1;
}

#contents03 .back01 {
	top: 60px;
	left: 210px;
	width: 100%;
	max-width: 149px;
}

#contents03 .back02 {
	top: -30px;
	right: 180px;
	width: 100%;
	max-width: 220px;
}

#contents03 .back03 {
	left: 0;
	bottom: 35px;
	width: 100%;
	max-width: 209px;
}

#contents03 .front {
	position: absolute;
	z-index: 3;
	right: 0;
	bottom: 10px;
	width: 100%;
	max-width: 150px;
}

@media screen and (max-width: 1160px) {
	#contents03 .back01 {
		top: 60px;
		left: 100px;
	}

	#contents03 .back02 {
		top: -30px;
		right: 100px;
	}
}

@media screen and (max-width: 820px) {
	#contents03 .box div {padding: 30px 40px;}
	#contents03 .back01 {
		top: 60px;
		left: 70px;
	}

	#contents03 .back02 {
		top: -30px;
		right: 50px;
	}
	
	#contents03 .front {
		right: 20px;
		width: 20%;
	}
}

@media screen and (max-width: 640px) {
	#contents03 .box {padding: 80px 0;}
	#contents03 .box div {padding: 20px 30px;}
	#contents03 .box div table th,#contents03 .box div table td {padding: 10px;}
	#contents03 .box div table th {width: 84px;}
	#contents03 .back01 {
		top: 70px;
		left: 50px;
		width: 30%;
	}

	#contents03 .back02 {
		top: -30px;
		right: 0;
		width: 30%;
	}
	
	#contents03 .back03 {
		left: 20px;
		bottom: 20px;
		width: 30%;
	}
}

@media screen and (max-width: 414px) {
	#contents03 .box {padding: 60px 0;}
	#contents03 .box div {padding: 10px 20px;}
	#contents03 .back01 {
		top: 70px;
		left: 20px;
	}
	
	#contents03 .front {right: 10px;}
}

/**********************************************************************************

#contents04

**********************************************************************************/
#contents04 .box {
	position: relative;
	margin: 0 auto;
	padding: 100px 0;
}

#contents04 .back01,#contents04 .back02,#contents04 .back03{
	position: absolute;
	z-index: 1;
}

#contents04 .box .form {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 616px;
	margin: 0 auto;
}

#contents04 .back01 {
	top: 120px;
	left: 0;
	width: 100%;
	max-width: 168px;
}

#contents04 .back02 {
	top: 140px;
	right: 0;
	width: 100%;
	max-width: 149px;
}

#contents04 .back03 {
	right: 0;
	bottom: 130px;
	width: 100%;
	max-width: 220px;
}

#contents04 .front {
	position: absolute;
	z-index: 3;
	top: 120px;
	left: 0;
	width: 100%;
	max-width: 150px;
}

@media screen and (max-width: 820px) {
	#contents04 .front {
		top: 20px;
		width: 20%;
	}
}

@media screen and (max-width: 640px) {
	#contents04 .box {padding: 80px 0;}
	#contents04 .box p {margin-bottom: 50px;}
}

@media screen and (max-width: 414px) {
	#contents04 .box {padding: 60px 0;}
	#contents04 .box p {margin-bottom: 40px;}
}

/**********************************************************************************

footer

**********************************************************************************/
footer {
	width: 100%;
	text-align: center;
	padding: 70px 0 50px;
}

footer a {
	display: block;
	width: 100%;
	max-width: 162px;
	margin: 0 auto 70px;
}

footer a img {width: 100%;}

footer small {font-size: 10px;}


@media screen and (max-width: 640px) {
	footer a {width: 60%;}
}

@media screen and (max-width: 414px) {
	footer {padding: 50px 0 30px;}
	footer a {margin: 0 auto 50px;}
}

/**********************************************************************************

pagetop

**********************************************************************************/
#page-top {
	position: fixed;
	right: 0;
	bottom: 0;
	z-index: 2;
	opacity: 0;
	transform: translateY(100px);
}

#page-top.UpMove{
	animation: UpAnime 0.5s forwards;
}
@keyframes UpAnime{
  from {
    opacity: 0;
	transform: translateY(100px);
  }
  to {
    opacity: 1;
	transform: translateY(0);
  }
}

#page-top.DownMove{
	animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
  from {
  	opacity: 1;
	transform: translateY(0);
  }
  to {
  	opacity: 1;
	transform: translateY(100px);
  }
}

@media screen and (max-width: 640px) {
	#page-top {display: none;}
}

/**********************************************************************************

fadeUp

**********************************************************************************/
.debox {opacity: 0;}

.fadeUp{
animation-name:fadeUpAnime;
animation-duration:0.5s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeUpAnime{
  from {
    opacity: 0;
  transform: translateY(100px);
  }

  to {
    opacity: 1;
  transform: translateY(0);
  }
}
 
.fadeUpTrigger{
    opacity: 0;
}



