/* CSS Document */

header{
	text-align: center;
	background: #000;
	padding-top: 130px;
}

header h1{
	position: absolute;
	top: 40px;
	/*left: 50%;*/
	left: 0;
  right: 0;
	/*margin-left: -636px;
	margin: auto;
	transform: translateX(-50%);*/
	z-index: 1000;
}

@media (max-width: 1275px) {
   /* 横幅が1275px以下の場合に適用するスタイル */

header h1 img{
    max-width: 1200px!important;
}

}


header #keyimg{
	margin-top: -45px;
	height: 740px;
	margin-bottom: -220px;
	overflow: hidden;
}


header .waves {
  position:relative;
  width: 100%;
  height:25vh;
  margin-bottom:-10px;/*Fix for safari gap*/
  min-height:10px;
  max-height:250px;
	z-index: 999;
}

/* Animation */

.parallax > use {
  animation: move-forever 25s cubic-bezier(.55,.5,.45,.5)     infinite;
}
.parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 15s;
}
.parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 20s;
}
.parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 26s;
}
.parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 40s;
}
@keyframes move-forever {
  0% {
   transform: translate3d(-90px,0,0);
  }
  100% { 
    transform: translate3d(95px,0,0);
  }
}

#s01{
	background: #AE023A url("../img/bg01.jpg") center 100px no-repeat;
	margin-top: -5px;
	padding-bottom: 100px;
	position: relative;
	z-index:1000;
}

#s01 h2{
	position: relative;
	width: 949px;
	margin: auto;
	z-index: 10000;
	height: 250px;
	/*margin-bottom: 15px;*/
}

#s01 h2 img{
	position: absolute;
	top: -100px;
	z-index: 1000;
}

#s01 p.text01{
	text-align: center;
	color: #fff;
	font-family:"メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", "sans-serif";
	font-weight: bold;
	line-height: 220%;
	font-size: 22px;
	margin-bottom: 80px;
}

#s01 p.text01 b,
#s01 p.text01 strong{
	color: #FFBF00;
	font-family:"メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", "sans-serif";
	font-weight: bold;
	line-height: 220%;
	font-size: 22px;
}

#s01 h3{
	font-size: 50px;
	font-weight: bold;
	text-align: center;
	color: #fff;
	padding-bottom: 25px;
}

#s01 hr{
	background: 0;
	border: 0;
	border-bottom: 5px solid #fff;
	width: 180px;
	margin: auto;
	margin-bottom: 50px;
}

#s01 dl{
	width:780px;
	margin: auto;
	margin-bottom: 50px;
}

#s01 dt{
	font-size: 30px;
	color: #fff;
	font-weight: bold;
	margin-bottom: 50px;
	text-align: center;
}

#s01 dd{
	font-size: 22px;
	color: #fff;
	line-height: 200%;
}


#s01 .text02{
	max-width: 1293px;
	margin: auto;
	border: #FF8080 1px solid;
	text-align: center;
	line-height: 63px;
	background: #fff;
	font-size: 30px;
	color: #AD0139;
	margin-bottom: 50px;
}

#s01 ul{
	width: 1200px;
	margin: auto;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

#s01 ul li{
	margin-bottom: 30px;
	background: #fd0;
}

#s01 ul li a:hover{
	opacity: 0.8;
	
}

#s02 .rap01{
	background: url("../img/bg02.jpg") no-repeat;
	background-size: cover;
	padding-top: 100px;
	padding-bottom: 100px;
}

#s02 .rap01 h2{
	text-align: center;
	margin-bottom: 100px;
}

#s02 .rap01 p{
	text-align: center;
	font-size: 30px;
	color: #fff;
	line-height: 220%;
	font-weight: bold;
}

#loopslider {
    /*margin: 0 auto;
    width: 500px;*/
    height: 300px;
    text-align: left;
    position: relative;
    overflow: hidden;
}
 
#loopslider ul {
    height: 300px;
    float: left;
    display: inline;
    overflow: hidden;
}
 
#loopslider ul li {
    width: 400px;
    height: 300px;
    float: left;
    display: inline;
    overflow: hidden;
}
 
/* =======================================
    ClearFixElements
======================================= */
#loopslider ul:after {
    content: ".";
    height: 0;
    clear: both;
    display: block;
    visibility: hidden;
}
 
#loopslider ul {
    display: inline-block;
    overflow: hidden;
}

#s02 .rap02{
	background: #000;
	padding-top: 50px;
	padding-bottom: 50px;
}

#s02 .rap02 .box_rap{
	max-width: 1500px;
	margin: auto;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

@media (max-width: 1415px) {
   /* 横幅が1200px以下の場合に適用するスタイル */

#s02 .rap02 .box_rap{
    width: 1100px!important;
}

}



#s02 .rap02 .box_rap .box{
	background: #fff;
	width: 330px;
	margin-bottom: 30px;
	padding-top: 25px;
	padding-bottom: 25px;
	margin-right: 25px;
}


#s02 .rap02 .box_rap::after{
  content:"";
  display: block;
  width: 330px;
	margin-right: 25px;
}


#s02 .rap02 .box_rap .box .title{
	text-align: center;
	font-size: 26px;
	line-height: 130%;
	margin-bottom: 15px;
}

#s02 .rap02 .box_rap .box a{
	width: 210px;
	height: 30px;
	line-height: 30px;
	text-align: center;
	display: block;
	color: #fff;
	background: #AD0139;
	font-size: 15px;
	text-decoration: none;
	margin: auto;
	margin-bottom: 15px;
}

#s02 .rap02 .box_rap .box a:hover{
	background: #FF8E00;
}

#s02 .rap02 .box_rap .box .icon{
	text-align: center;
	margin-bottom: 5px;
}

#s02 .rap02 .box_rap .box .img{
	text-align: center;
	
}

#s03 .bg{
	background: url("../img/bg03.jpg") center center no-repeat #000;
	background-size: cover;
	height: 300px;
	background-attachment: fixed;
	margin-bottom: 50px;
}

#s03 h2{
	text-align: center;
	background: url("../img/icon02.jpg") center top no-repeat;
	padding-top: 45px;
	font-size: 35px;
	color: #AC0039;
	font-weight: normal;
	margin-bottom: 50px;
} 

#s03 dl{
	width: 850px;
	margin: auto;
	color: #000;
	margin-bottom: 35px;
}

#s03 dt{
	font-size: 50px;
	font-weight: bold;
	margin-bottom: 50px;
}

#s03 dd{
	padding-left: 25px;
	font-size: 22px;
	line-height: 160%;
}

#s03 .center{
	font-size: 35px;
	font-weight: bold;
	color: #AD0139;
	margin-bottom: 100px;
}

footer{
	background: #000;
	padding-top: 50px;
	padding-bottom: 50px;
	text-align: center;
}

footer img{
	margin-bottom: 25px;
}

footer a{
	display: block;
	background: #AD0139;
	color: #fff;
	font-size: 20px;
	width: 460px;
	text-decoration: none;
	margin: auto;
	height: 45px;
	line-height: 45px;
}

footer a:hover{
	opacity: 0.9;
}
