@media screen and (max-width: 768px){

header {
  position: fixed;
  width: 100%;
  height: 30px;
  top: 0;
  z-index: 9999;
  /*background-color: rgba(0,0,0,0);*/
}

header .box-in {
  position: relative;
  width: 100%;
}

header .logo {
  position: absolute;
  top: 7px;
  left: 10px;
}

header .logo img {
  height: 15px;
}

header .link {
  position: absolute;
  top: 7px;
  right: 10px;
}

header .link a {
  font-size: 10px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  margin-right: 10px;
  text-shadow: black 1px 1px 5px, black -1px 1px 5px, black 1px -1px 5px, black -1px -1px 5px;
}

header .link a span {
  font-size: 10px;
}

.content {
  width: 100%;
  height: 100%;
  position: relative;
}

a.next {
  position: fixed;
  width: 30px;
  height: 30px;
  bottom:50px;
  left: 0;
  right: 0;
  margin: auto;
  z-index: 9999;
}

a.next img {
  width: 30px;
  height: 30px;
}

a.top {
  display: none;
  position: fixed;
  width: 30px;
  height: 30px;
  bottom:50px;
  right: 30px;
  margin: auto;
  z-index: 9999;
}

a.top img {
  width: 30px;
  height: 30px;
}


/*p1*/

#content1 {
  background-image: url('../image/back1.jpeg');
  background-size: cover;
  background-position: 50% 60%;
}

#content1 h2.p1 {
  width: 300px;
  height: 100px;
  z-index: 2;
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  margin: auto;
  padding-top: 80px;
  opacity: 0;
  color: #fff;
  font-size: 17px;
  letter-spacing: 1px;
  line-height: 30px;
  text-shadow: black 1px 1px 10px, black -1px 1px 10px, black 1px -1px 10px, black -1px -1px 10px;
  font-style:oblique;
}

#content1.p1 h2.p1 {
  transition: padding-top 1.2s ease 0.5s, opacity 1.2s ease 0.5s;
  -webkit-transition: padding-top 1.2s ease 0.5s, opacity 1.2s ease 0.5s;
  padding-top: 0px;
  opacity: 1;
}

/*p2*/

#content2 {
  background: #fff;
}

#content2 .img-box {
  height: 90vh;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  position: absolute;
  margin: auto;
}

#content2 .img-box-in {
  position: relative;
}

#content2 .img-box-in::after {
  content: '';
  display: block;
  height: 90vh;
  position: absolute;
  top: 0;
  width: 100%;
  -webkit-box-shadow: -20px 0px 20px 0px #fff inset, 20px 0px 20px 0px #fff inset;
  -moz-box-shadow: -20px 0px 20px 0px #fff inset, 20px 0px 20px 0px #fff inset;
  box-shadow: -20px 0px 20px 0px #fff inset, 20px 0px 20px 0px #fff inset;
}

#content2 .image1 {
  height: 90vh;
}


#content2 .image2 {
  position: absolute;
  width: 200px;
  right: 15%;
  bottom: 20%;
  opacity: 0;
  margin-bottom: -80px;
}

#content2.p2 .image2.p2 {
  transition: margin-bottom 1.2s ease 0.5s, opacity 1.2s ease 0.5s;
  -webkit-transition: margin-bottom 1.2s ease 0.5s, opacity 1.2s ease 0.5s;
  margin-bottom: 0px;
  opacity: 1;
}

/*p3*/

#content3 {
  background: #fff;
  transition: background-color 1.2s;
  -webkit-transition: background-color 1.2s;
}

#content3.p4 {
  background-color: #000;
/*  animation: p4 1.2s 0.3s forwards;
}
@keyframes p4 {
  0% {
    background-color: #fff;
  }
  100% {
    background-color: #000;
  }*/
}

#content3.p5 {
  background-color: #000;
}

#content3 .img-box {
  position: absolute;
  width: 308px;
  height: 233px;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  padding: 4px;
  background-color: #fff;
  box-shadow: 0px 6px 6px 0px rgba(0,0,0,0.5);
}

#content3 .img-box img {
  margin-top: 4px;
  width: 300px;
  height: 225px;
}

/*p4*/

#content3 p.p4 {
  width: 90%;
  height: 100px;
  z-index: 2;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  padding-top: 80px;
  opacity: 0;
  color: #fff;
  font-size: 12px;
}

#content3.p4 p.p4 {
  transition: padding-top 1.2s ease 0.5s, opacity 1.2s ease 0.5s;
  -webkit-transition: padding-top 1.2s ease 0.5s, opacity 1.2s ease 0.5s;
  padding-top: 0px;
  opacity: 1;
}

/*p5*/

#content3.p4out p.p4 {
  transition: padding-bottom 1.2s ease 0s, opacity 1.2s ease 0s;
  -webkit-transition: padding-bottom 1.2s ease 0s, opacity 1.2s ease 0s;
  padding-bottom: 1000px;
  opacity: 0;
}

#content3 p.p5 {
  width: 90%;
  height: 100px;
  z-index: 2;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  padding-top: 80px;
  opacity: 0;
  color: #fff;
  font-size: 12px;
}

#content3.p5 p.p5 {
  transition: padding-top 1.2s ease 0.5s, opacity 1.2s ease 0.5s;
  -webkit-transition: padding-top 1.2s ease 0.5s, opacity 1.2s ease 0.5s;
  padding-top: 0px;
  opacity: 1;
}


/*p6*/

#content3.p5out p.p5 {
  transition: padding-bottom 1.2s ease 0s, opacity 1.2s ease 0s;
  -webkit-transition: padding-bottom 1.2s ease 0s, opacity 1.2s ease 0s;
  padding-bottom: 1000px;
  opacity: 0;
}


#content4 {
  background-image: url('../image/back4.jpeg');
  background-size: cover;
}


/*p7*/

#content4 p.p7 {
  width: 260px;
  height: 100px;
  z-index: 2;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  padding-top: 80px;
  opacity: 0;
  color: #000;
  font-size: 12px;
  text-align: left;
}

#content4.p7 p.p7 {
  transition: padding-top 1.2s ease 0.5s, opacity 1.2s ease 0.5s;
  -webkit-transition: padding-top 1.2s ease 0.5s, opacity 1.2s ease 0.5s;
  padding-top: 0px;
  opacity: 1;
}

/*p8*/

#content5 {
  background: #fff;
}

#content5 .img-box {

}

#content5 .image1 {
  width: 100%;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
}


/*p9*/

#content6 {
  background-image: url('../image/back6.jpeg');
  background-size: cover;
  background-position: bottom;
}

#content6 p.p9 {
  width: 260px;
  height: 100px;
  z-index: 2;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  padding-top: 80px;
  opacity: 0;
  color: #fff;
  font-size: 12px;
  text-align: left;
}

#content6.p9 p.p9 {
  transition: padding-top 1.2s ease 0.5s, opacity 1.2s ease 0.5s;
  -webkit-transition: padding-top 1.2s ease 0.5s, opacity 1.2s ease 0.5s;
  padding-top: 0px;
  opacity: 1;
}

/*10*/

#content7 {
  background-color: #000;
  transition: background-color 1.2s;
  -webkit-transition: background-color 1.2s;
}

#content7 .overlay2 {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
}

#content7 .img-box {
}

#content7 .img-box img {
  width: 90%;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
}

/*p11*/

#content7 h2.p11 {
  width: 90%;
  height: 50px;
  z-index: 2;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  padding-top: 80px;
  opacity: 0;
  color: #fff;
  font-size: 17px;
  letter-spacing: 1px;
  text-shadow: black 1px 1px 10px, black -1px 1px 10px, black 1px -1px 10px, black -1px -1px 10px;
  font-style:oblique;
}

#content7.p11 h2.p11 {
  transition: padding-top 1.2s ease 0.5s, opacity 1.2s ease 0.5s;
  -webkit-transition: padding-top 1.2s ease 0.5s, opacity 1.2s ease 0.5s;
  padding-top: 0px;
  opacity: 1;
}

/*p12*/

#content7.p11out h2.p11 {
  transition: padding-bottom 1.2s ease 0s, opacity 1.2s ease 0s;
  -webkit-transition: padding-bottom 1.2s ease 0s, opacity 1.2s ease 0s;
  padding-bottom: 1000px;
  opacity: 0;
}

#content7 p.p12 {
  width: 260px;
  height: 100px;
  z-index: 2;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  padding-top: 80px;
  opacity: 0;
  color: #fff;
  font-size: 12px;
  text-align: left;
}

#content7.p12 p.p12 {
  transition: padding-top 1.2s ease 0.5s, opacity 1.2s ease 0.5s;
  -webkit-transition: padding-top 1.2s ease 0.5s, opacity 1.2s ease 0.5s;
  padding-top: 0px;
  opacity: 1;
}


/*p13*/

#content7.p12out p.p12 {
  transition: padding-bottom 1.2s ease 0s, opacity 1.2s ease 0s;
  -webkit-transition: padding-bottom 1.2s ease 0s, opacity 1.2s ease 0s;
  padding-bottom: 1000px;
  opacity: 0;
}

#content7 h2.p13 {
  width: 90%;
  height: 50px;
  z-index: 2;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  padding-top: 80px;
  opacity: 0;
  font-size: 17px;
  letter-spacing: 1px;
  color: #fff;
  text-shadow: black 1px 1px 10px, black -1px 1px 10px, black 1px -1px 10px, black -1px -1px 10px;
  font-style:oblique;
}

#content7.p13 h2.p13 {
  transition: padding-top 1.2s ease 0.5s, opacity 1.2s ease 0.5s;
  -webkit-transition: padding-top 1.2s ease 0.5s, opacity 1.2s ease 0.5s;
  padding-top: 0px;
  opacity: 1;
}


/*14*/

#content8 {
  background-image: url('../image/back8.jpeg');
  background-size: cover;
  background-position: 55% 0;
}

#content8 h2.p14 {
  width: 250px;
  height: 100px;
  z-index: 2;
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  margin: auto;
  padding-top: 80px;
  opacity: 0;
  color: #fff;
  font-size: 17px;
  letter-spacing: 1px;
  line-height: 30px;
  font-style:oblique;
  text-shadow: black 1px 1px 10px, black -1px 1px 10px, black 1px -1px 10px, black -1px -1px 10px;
  text-align: left;
}

#content8.p14 h2.p14 {
  transition: padding-top 1.2s ease 0.5s, opacity 1.2s ease 0.5s;
  -webkit-transition: padding-top 1.2s ease 0.5s, opacity 1.2s ease 0.5s;
  padding-top: 0px;
  opacity: 1;
}

/*p15*/

#content8.p14out h2.p14 {
  transition: padding-bottom 1.2s ease 0s, opacity 1.2s ease 0s;
  -webkit-transition: padding-bottom 1.2s ease 0s, opacity 1.2s ease 0s;
  padding-bottom: 1000px;
  opacity: 0;
}

#content8 p.p15 {
  width: 260px;
  height: 100px;
  z-index: 2;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  padding-top: 80px;
  opacity: 0;
  color: #fff;
  font-size: 12px;
  text-align: left;
}

#content8.p15 p.p15 {
  transition: padding-top 1.2s ease 0.5s, opacity 1.2s ease 0.5s;
  -webkit-transition: padding-top 1.2s ease 0.5s, opacity 1.2s ease 0.5s;
  padding-top: 0px;
  opacity: 1;
}


/*p16*/

#content9 {
  background-image: url('../image/back9.jpeg');
  background-size: cover;
  background-position: 30% 0;
}

#content9 p.p16 {
  width: 260px;
  height: 100px;
  z-index: 2;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  padding-top: 80px;
  opacity: 0;
  color: #fff;
  font-size: 12px;
  text-align: left;
}

#content9.p16 p.p16 {
  transition: padding-top 1.2s ease 0.5s, opacity 1.2s ease 0.5s;
  -webkit-transition: padding-top 1.2s ease 0.5s, opacity 1.2s ease 0.5s;
  padding-top: 0px;
  opacity: 1;
}


/*p17*/

#content9.p16out p.p16 {
  transition: padding-bottom 1.2s ease 0s, opacity 1.2s ease 0s;
  -webkit-transition: padding-bottom 1.2s ease 0s, opacity 1.2s ease 0s;
  padding-bottom: 1000px;
  opacity: 0;
}

#content9 p.p17 {
  width: 260px;
  height: 100px;
  z-index: 2;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  padding-top: 80px;
  opacity: 0;
  color: #fff;
  font-size: 12px;
  text-align: left;
}

#content9.p17 p.p17 {
  transition: padding-top 1.2s ease 0.5s, opacity 1.2s ease 0.5s;
  -webkit-transition: padding-top 1.2s ease 0.5s, opacity 1.2s ease 0.5s;
  padding-top: 0px;
  opacity: 1;
}


/*p18*/

#content10 {
  background-image: url('../image/back10.jpeg');
  background-size: cover;
  background-position: 40% 0;
}

#content10 h2.p18 {
  width: 90%;
  height: 50px;
  z-index: 2;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  padding-top: 80px;
  opacity: 0;
  font-size: 17px;
  letter-spacing: 1px;
  color: #fff;
  text-shadow: black 1px 1px 10px, black -1px 1px 10px, black 1px -1px 10px, black -1px -1px 10px;
  font-style:oblique;
}

#content10.p18 h2.p18 {
  transition: padding-top 1.2s ease 0.5s, opacity 1.2s ease 0.5s;
  -webkit-transition: padding-top 1.2s ease 0.5s, opacity 1.2s ease 0.5s;
  padding-top: 0px;
  opacity: 1;
}

/*p19*/

#content10.p18out h2.p18 {
  transition: padding-bottom 1.2s ease 0s, opacity 1.2s ease 0s;
  -webkit-transition: padding-bottom 1.2s ease 0s, opacity 1.2s ease 0s;
  padding-bottom: 1000px;
  opacity: 0;
}

#content10 p.p19 {
  width: 260px;
  height: 100px;
  z-index: 2;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  padding-top: 80px;
  opacity: 0;
  color: #fff;
  font-size: 12px;
  text-align: left;
}

#content10.p19 p.p19 {
  transition: padding-top 1.2s ease 0.5s, opacity 1.2s ease 0.5s;
  -webkit-transition: padding-top 1.2s ease 0.5s, opacity 1.2s ease 0.5s;
  padding-top: 0px;
  opacity: 1;
}

/*20*/

#content10.p19out h2.p19 {
  transition: padding-bottom 1.2s ease 0s, opacity 1.2s ease 0s;
  -webkit-transition: padding-bottom 1.2s ease 0s, opacity 1.2s ease 0s;
  padding-bottom: 1000px;
  opacity: 0;
}

#content10 h2.p20 {
  width: 90%;
  height: 50px;
  z-index: 2;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  padding-top: 80px;
  opacity: 0;
  font-size: 17px;
  letter-spacing: 1px;
  color: #fff;
  text-shadow: black 1px 1px 10px, black -1px 1px 10px, black 1px -1px 10px, black -1px -1px 10px;
  font-style:oblique;
}

#content10.p20 h2.p20 {
  transition: padding-top 1.2s ease 0.5s, opacity 1.2s ease 0.5s;
  -webkit-transition: padding-top 1.2s ease 0.5s, opacity 1.2s ease 0.5s;
  padding-top: 0px;
  opacity: 1;
}

/*p21*/

#content11 {
  background-image: url('../image/back11.jpeg');
  background-size: cover;
  background-position: 40% 30%;
}

#content11 h2.p21 {
  width: 90%;
  height: 50px;
  z-index: 2;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  padding-top: 80px;
  opacity: 0;
  font-size: 17px;
  letter-spacing: 1px;
  color: #fff;
  text-shadow: black 1px 1px 10px, black -1px 1px 10px, black 1px -1px 10px, black -1px -1px 10px;
  font-style:oblique;
}

#content11.p21 h2.p21 {
  transition: padding-top 1.2s ease 0.5s, opacity 1.2s ease 0.5s;
  -webkit-transition: padding-top 1.2s ease 0.5s, opacity 1.2s ease 0.5s;
  padding-top: 0px;
  opacity: 1;
}

/*p22*/
#content12 {
  background-image: url('../image/back12.jpeg');
  background-size: cover;
  background-position: 40% 0;
}


/*p23*/

#content13 {
  background-color: #fff;
  transition: background-color 1.2s;
  -webkit-transition: background-color 1.2s;
}


#content13 .img-box {
}

#content13 .img-box img {
  width: 90%;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
}

#content13 p.p23 {
  width: 260px;
  height: 100px;
  z-index: 2;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  padding-top: 80px;
  opacity: 0;
  color: #000;
  font-size: 12px;
  text-align: left;
}

#content13.p23 p.p23 {
  transition: padding-top 1.2s ease 0.5s, opacity 1.2s ease 0.5s;
  -webkit-transition: padding-top 1.2s ease 0.5s, opacity 1.2s ease 0.5s;
  padding-top: 0px;
  opacity: 1;
}


/*p24*/

#content14 {
  background-image: url('../image/back14.jpeg');
  background-size: cover;
  background-position: 40% 0;
}

/*p25*/

#content14 p.p25 {
  width: 260px;
  height: 100px;
  z-index: 2;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  padding-top: 80px;
  opacity: 0;
  color: #000;
  font-size: 12px;
  text-align: left;
}

#content14.p25 p.p25 {
  transition: padding-top 1.2s ease 0.5s, opacity 1.2s ease 0.5s;
  -webkit-transition: padding-top 1.2s ease 0.5s, opacity 1.2s ease 0.5s;
  padding-top: 0px;
  opacity: 1;
}

/*p26*/

#content14.p25out p.p25 {
  transition: padding-bottom 1.2s ease 0s, opacity 1.2s ease 0s;
  -webkit-transition: padding-bottom 1.2s ease 0s, opacity 1.2s ease 0s;
  padding-bottom: 1000px;
  opacity: 0;
}


#content14 .p26 {
	position: absolute;
	z-index: 2;
	padding-top: 80px;
	color: #000;
	opacity: 0;
	font-size: small;
}

#content14 .p26.logo {
  width: 200px;
  top: 17%;
  left: 30%;
}

#content14 .p26.logo img {
  width: 100%;
}

#content14 .p26.sns {
  width: 70%;
  height: 50px;
  bottom: 20%;
  left: 30%;
}

#content14 .p26.sns p {
  text-align: left;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 6px;
}

#content14 .p26.sns a {
  color: #000;
  text-decoration: none;
}

#content14 .p26.sns img {
  width: 60px;
  height: 33px;
  vertical-align: middle;
}

#content14 .p26.sns p span {
  font-size: 12px;
}


#content14.p26 .p26 {
  transition: padding-top 1.2s ease 0.5s, opacity 1.2s ease 0.5s;
  -webkit-transition: padding-top 1.2s ease 0.5s, opacity 1.2s ease 0.5s;
  padding-top: 0px;
  opacity: 1;
}

footer {
  display: none;
  background-color: #fff;
  width: 100%;
  height: 25px;
  padding: 10px;
  margin: auto;
  bottom: 0;
  left: 0;
  right: 0;
}

footer.p26 {
  display: block;
}

footer .copy {
	text-align: center;
	color: #000;
	padding-top: 10px;
	font-size: 8px;
	font-weight: lighter;
}

.overlay {
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  transition: background-color 1.2s ease 0s;
  -webkit-transition: background-color 1.2s ease 0s;
}

.overlay.black.active {
  background-color: rgba(0,0,0,0.5);
}

.overlay.white.active {
  background-color: rgba(255,255,255,0.5);
}

}
