@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1:wght@100..900&display=swap');
#y25 p {
  font-family: "M PLUS 1", sans-serif !important;
  font-weight: 500 !important;
}
body {
  background: url("../img/bk.png") repeat 50% 0 !important;
	background-size: 100% !important;
}
#y25 {
  padding: 130px 0;
  position: relative;
}
@media only screen and (max-width: 769px) {
  #y25 {
    padding: 80px 0;
    overflow: hidden;
  }
}
#y25:before {
  content: "";
  background: url(../img/bk2.png) no-repeat;
  background-size: 100%;
  width: 1376px;
  display: block;
  height: 2579px;
  position: absolute;
  left: 50%;
  top: 1200px;
  z-index: 1;
  transform: translateX(-50%);
}
@media only screen and (max-width: 769px) {
	#y25:before {
  background: url(../img/bk2-sp.png) no-repeat;
  background-size: 100%;
		 width: 100%;
		height: auto;
	        max-height: 3183px;
		top:12%;
	}
}
#y25-wrap {
  max-width: 1262px;
  min-width: 1262px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
@media only screen and (max-width: 769px) {
  #y25-wrap {
    min-width: initial;
    padding: 0 20px;
  }
}
#y25-wrap:before {
  content: "";
  background: url("../img/deco1.png") no-repeat;
  background-size: 100%;
  width: 490px;
  height: 448px;
  position: absolute;
  left: -140px;
  top: -79px;
  z-index: 9;
}
@media only screen and (max-width: 769px) {
  #y25-wrap:before {
width: 156px;
        height: 144px;
        left: -17px;
        top: -33px;
  }
}
#y25-wrap:after {
  content: "";
  background: url("../img/bk1.png") no-repeat;
  background-size: 100%;
  width: 411px;
  height: 411px;
  position: absolute;
  right: -140px;
  top: -79px;
  z-index: 1;
}
@media only screen and (max-width: 769px) {
  #y25-wrap:after {
    width: 200px;
    height: 200px;
    position: absolute;
    right: -51px;
    top: -63px;
  }
}
#y25-wrap p.t-head {
  max-width: 1024px;
  position: relative;
  z-index: 9;
  margin: 0 auto;
}
#y25-wrap p.obi {
  position: absolute;
  top: -79px;
  right: 0;
  z-index: 9;
}
@media only screen and (max-width: 769px) {
  #y25-wrap p.obi {
    width: 15%;
    top: -34px;
  }
}
#y25-wrap .inside {
  max-width: 1062px;
  background: #FFF;
  position: relative;
  margin: -168px auto 0 auto;
  padding: 100px 0 0 0;
}
@media only screen and (max-width: 769px) {
  #y25-wrap .inside {
    margin-top: -15%;
    padding: 30px 0 0 0;
  }
}
#y25-wrap .inside:before {
  content: "";
  background: url("../img/deco2.png") no-repeat;
  background-size: 100%;
  width: 294px;
  height: 357px;
  position: absolute;
  right: -190px;
  top: 72px;
  z-index: 2;
}
@media only screen and (max-width: 769px) {
  #y25-wrap .inside:before {
    content: "";
    background: url(../img/deco2.png) no-repeat;
    background-size: 100%;
    width: 102px;
    height: 357px;
    position: absolute;
    right: -72px;
    top: 22px;
    z-index: 2;
  }
}
#y25-wrap .inside h1 {
  max-width: initial;
  width: 102%;
  margin-left: -2%;
}
#y25-wrap .inside .term {
  max-width: 745px;
  margin: 25px auto 50px;
	position: relative;
        z-index: 9;
}
@media only screen and (max-width: 769px) {
  #y25-wrap .inside .term {
    max-width: 745px;
    margin: 10px 20px 30px;
  }
}
#y25-wrap .inside p.outline {
  text-align: center;
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 50px;
}
@media only screen and (max-width: 769px) {
  #y25-wrap .inside p.outline {
    margin: 0 40px 30px 40px;
    font-size: 14px;
  }
}
#y25-wrap .inside .term-wrap {
  position: relative;
}
#y25-wrap .inside .term-wrap:before {
  content: "";
  background: url("../img/deco3.png") no-repeat;
  background-size: 100%;
  width: 260px;
  height: 122px;
  position: absolute;
  left: -103px;
  top: 80px;
  z-index: 2;
}
@media only screen and (max-width: 769px) {
  #y25-wrap .inside .term-wrap:before {
    width: 100px;
    height: 48px;
    position: absolute;
    left: -20px;
    top: 70px;
    z-index: 2;
  }
}
#y25-wrap .inside .term-wrap:after {
  content: "";
  background: url("../img/deco4.png") no-repeat;
  background-size: 100%;
  width: 221px;
  height: 243px;
  position: absolute;
  right: -83px;
  top: -82px;
  z-index: 2;
}
@media only screen and (max-width: 769px) {
  #y25-wrap .inside .term-wrap:after {
    content: "";
    background: url(../img/deco4.png) no-repeat;
    background-size: 100%;
    width: 100px;
    height: 243px;
    position: absolute;
    right: -47px;
    top: 29px;
    z-index: 2;
  }
}
  #y25-wrap .inside .present-wrap {
    position: relative;
  }
  #y25-wrap .inside .present-wrap:before {
    content: "";
    background: url("../img/deco5.png") no-repeat;
    background-size: 100%;
    width: 284px;
    height: 182px;
    position: absolute;
    left: -188px;
    top: 120px;
    z-index: 2;
  }
  @media only screen and (max-width: 769px) {
    #y25-wrap .inside .present-wrap:before {
      width: 150px;
      height: 100px;
      position: absolute;
      left: -20px;
      top: 42px;
    }
  }
  #y25-wrap .inside .present-wrap:after {
    content: "";
    background: url("../img/deco6.png") no-repeat;
    background-size: 100%;
    width: 484px;
    height: 529px;
    position: absolute;
    right: -190px;
    top: 234px;
    z-index: 2;
  }
  @media only screen and (max-width: 769px) {
    #y25-wrap .inside .present-wrap:after {
      width: 171px;
      height: 180px;
      position: absolute;
      right: -14%;
      top: 78%;
    }
  }
  #y25-wrap .inside .present-wrap ul {
    display: flex;
    justify-content: space-between;
    position: relative;
    left: 2%;
    z-index: 9;
  }
  @media only screen and (max-width: 769px) {
    #y25-wrap .inside .present-wrap ul {
      display: block;
    }
  }
  #y25-wrap .inside .present-wrap ul li:nth-child(1) {
    width: 47%;
  }
  #y25-wrap .inside .present-wrap ul li:nth-child(2) {
    width: 53%;
  }
  @media only screen and (max-width: 769px) {
    #y25-wrap .inside .present-wrap ul li:nth-child(1) {
      width: 94%;
					margin-bottom: 20px;
    }
    #y25-wrap .inside .present-wrap ul li:nth-child(2) {
      width: 105%;
    }
  }
  #y25-wrap .inside article section {
    margin: 50px 0 0 0;
  }
  @media only screen and (max-width: 769px) {
    #y25-wrap .inside article section {
      margin: 25px 0 0 0;
    }
  }
  #y25-wrap .inside article section:nth-child(1) {
    position: relative;
  }
  #y25-wrap .inside article section:nth-child(1):before {
    content: "";
    background: url("../img/deco7.png") no-repeat;
    background-size: 100%;
    width: 379px;
    height: 395px;
    position: absolute;
    left: -149px;
    top: 75px;
    z-index: 2;
  }
  @media only screen and (max-width: 769px) {
    #y25-wrap .inside article section:nth-child(1):before {
      left: -144px;
      top: 0;
      width: 190px;
      height: 140px;
    }
  }
  #y25-wrap .inside article section:nth-child(1):after {
    content: "";
    background: url("../img/deco8.png") no-repeat;
    background-size: 100%;
    width: 184px;
    height: 197px;
    position: absolute;
    right: 50px;
    top: 198px;
    z-index: 2;
  }
  @media only screen and (max-width: 769px) {
    #y25-wrap .inside article section:nth-child(1):after {
      width: 70px;
      height: 77px;
      right: -20px;
    }
  }
  #y25-wrap .inside article section:nth-child(2) {
    position: relative;
  }
  #y25-wrap .inside article section:nth-child(2):before {
    content: "";
    background: url("../img/deco9.png") no-repeat;
    background-size: 100%;
    width: 160px;
    height: 219px;
    position: absolute;
    right: 50px;
    top: 285px;
    z-index: 2;
  }
  @media only screen and (max-width: 769px) {
    #y25-wrap .inside article section:nth-child(2):before {
      width: 80px;
      height: 97px;
      position: absolute;
      right: -20px;
      top: 85%;
    }
  }
  #y25-wrap .inside article section h2 {
    max-width: 440px;
    margin: 0 auto;
  }
  @media only screen and (max-width: 769px) {
    #y25-wrap .inside article section h2 {
      margin: 0 50px;
    }
  }
  @media only screen and (max-width: 769px) {
    #y25-wrap .inside article section ul {
      margin: 0 20px;
    }
  }
  #y25-wrap .inside article section ul li {
    font-family: "M PLUS 1", sans-serif !important;
    font-size: 18px;
    text-align: center;
    line-height: 1;
    font-weight: 500;
    margin: 0 auto;
  }
  @media only screen and (max-width: 769px) {
    #y25-wrap .inside article section ul li {
      font-size: 14px;
      text-align: left;
      text-indent: -2.5em;
      padding-left: 2.5em;
      line-height: 1.5;
    }
  }
  #y25-wrap .inside article section ul li:before {
    content: "";
    background: url("../img/yubi.svg") no-repeat;
    background-size: 100%;
    width: 29px;
    height: 44px;
    display: inline-block;
  }
  @media only screen and (max-width: 769px) {
    #y25-wrap .inside article section ul li:before {
      width: 20px;
      height: 32px;
    }
  }
  #y25-wrap .inside #flow {
    max-width: 940px;
    margin: 100px auto 50px auto;
			position: relative;
  }
  #y25-wrap .inside #flow:before {
    content: "";
    background: url(../img/deco10.png) no-repeat;
    background-size: 100%;
    width: 213px;
    height: 217px;
    position: absolute;
    right: -180px;
    bottom: -209px;
    z-index: 2;
  }
  @media only screen and (max-width: 769px) {
    #y25-wrap .inside #flow {
      max-width: 940px;
      margin: 50px 20px 25px 20px;
    }
			  #y25-wrap .inside #flow:before {
			    width: 100px;
    height: 100px;
    position: absolute;
    right: -90px;
    bottom: -63px;
			}
  }
  #y25-wrap .inside #flow h2 {
    max-width: 447px;
    margin: 0 auto;
    line-height: 0;
  }
  #y25-wrap .inside #flow ul {
    display: flex;
    justify-content: space-between;
  }
		@media only screen and (max-width: 769px) {
			  #y25-wrap .inside #flow ul {
						display: block;
						margin: 0 10px;
			}
}
  #y25-wrap .inside #flow ul li {
    width: 32%;
    position: relative;
  }
		@media only screen and (max-width: 769px) {
  #y25-wrap .inside #flow ul li {
				width:auto;
			}
}
  #y25-wrap .inside #flow ul li:not(:last-child):after {
    content: "";
    width: 0;
    height: 0;
    border-left: 12px solid #111d76;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -12px;
  }
		@media only screen and (max-width: 769px) {
			#y25-wrap .inside #flow ul li:not(:last-child){
				padding-bottom: 18px;
			}
  #y25-wrap .inside #flow ul li:not(:last-child):after {
border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 12px solid #111d76;
			top: auto;
			bottom:0;
			transform: translate(-50%,0);
    right:auto;
			left:50%;
}
}
  #y25-wrap .inside #btns {
    max-width: 960px;
    margin: 75px auto 50px auto;
  }
		@media only screen and (max-width: 769px) {
			  #y25-wrap .inside #btns {
    margin: 0 20px 25px 20px;
  }
}
  #y25-wrap .inside #btns ul li:nth-child(2) {
    display: flex;
    justify-content: flex-end;
  }
		@media only screen and (max-width: 769px) {
			  #y25-wrap .inside #btns ul li:nth-child(2) {
						width:70%;
						margin-left: auto;
			}
}
  #y25-wrap .inside aside {
    padding: 25px 50px 50px 50px;
  }
		@media only screen and (max-width: 769px) {
			  #y25-wrap .inside aside {
    padding: 0 20px 20px 20px;
						position: relative;
  }
			#y25-wrap .inside aside:before{
				content: "";
    background: url(../img/bk1.png) no-repeat;
    background-size: 100%;
				        width: 200px;
        height: 256px;
        position: absolute;
        left: -69px;
        top: 20%;
			}
}
#y25-wrap .inside aside ul {
	line-height: 1;
}
  #y25-wrap .inside aside ul li {
    font-size: 10px;
    font-family: "M PLUS 1", sans-serif !important;
			display: inline;
  }
  header {
    top: 0;
  }
  footer {
    margin-top: 200px !important;
  }
		@media only screen and (max-width: 769px) {
			  footer {
    margin-top: 0 !important;
  }
}