/* 本体系 */
html {
    height:100%;
}

body{
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0px;
    background-color: #6CB8FF;
    animation: gradationTest 10s infinite;
}

@keyframes gradationTest {
0% { background-color: #6CB8FF; }
25% { background-color: #FFF66C; }
50% { background-color: #FFA36C; }
75% { background-color: #ffb6c1; }
100% { background-color: #6CB8FF; }
}

/* ヘッダー */
header {
    position: relative;
    height: 500px;
    width: 100%;
    text-align: center;
    background-image: url("img/back.jpg");
    background-position: left 50% top 50%;
    background-size:cover;
}

/* メイン */
main{
    margin-top: 10px;
    margin-bottom: 10px;
}

.content{
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    margin-right: 15%;
    margin-left: 15%;
}

.sub {
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
    margin-right: 20%;
    margin-left: 20%;
}

.about {
    margin-top: 10px;
    margin-bottom: 10px;
    margin-right: 60px;
    margin-left: 60px;
    background-color: black;
    background: rgba(0,0,0,0.7);
    padding-top: 20px;
    padding-bottom: 20px;
    padding-right: 40px;
    padding-left: 40px;
    color: white;
    text-align: center;
}

h1 {
   font-family: 'Oswald', sans-serif;
   margin: 0;
   margin-bottom: 20px;
}

h4 {
   font-family: 'Oswald', sans-serif;
   margin: 0;
}

/* ボタン 大 */
.img_wrap{
  border: 5px solid white;
  width: 270px;
  height: 270px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}
.img_wrap img{
  width: 100%;
  cursor: pointer;
  transition-duration: 0.5s;
}
.img_wrap img:hover{
  transform: scale(1.2) rotate(9deg);
  transition-duration: 0.5s;
}

.img_wrap p {
  position: absolute;
  color: white;/*文字は白に*/
  font-weight: bold; /*太字に*/
  font-size: 4em;/*サイズ2倍*/
  font-family: 'Oswald', sans-serif;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%,-50%);
  -webkit-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
  margin:0;
  padding:0;
  /*文字の装飾は省略*/
  }

/* ボタン 小*/
.button {
  display: block;
  width: 130px;
  height: 130px;
  text-align: center;
  text-decoration: none;
  line-height: 117px !important;
  outline: none;
  margin: 0 auto;
  font-family: 'Oswald', sans-serif;
  font-size: 2em;/*サイズ2倍*/
}
.button::before,
.button::after {
  position: absolute;
  z-index: -1;
  display: block;
  content: '';
}
.button,
.button::before,
.button::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all .4s;
  transition: all .4s;
}

.button {
  background-color: black;
  border: 5px solid white;
  color: #fff;
  line-height: 50px;
}
.button:hover {
  background-color: #fff;
  border-color: black;
  color: black;
}

/* ボタン もっと小*/
.button_s {
  display: block;
  width: 130px;
  height: 40px;
  text-align: center;
  text-decoration: none;
  line-height: 32px !important;
  outline: none;
  margin: 0 auto;
  font-family: 'Oswald', sans-serif;
  font-size: 1.5em;/*サイズ2倍*/
}
.button_s::before,
.button_s::after {
  position: absolute;
  z-index: -1;
  display: block;
  content: '';
}
.button_s,
.button_s::before,
.button_s::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all .4s;
  transition: all .4s;
}

.button_s {
  background-color: black;
  border: 3px solid white;
  color: #fff;
  line-height: 50px;
}
.button_s:hover {
  background-color: #fff;
  border-color: black;
  color: black;
}

/* フッター */
footer {
  width: 100%;
  height: 130px; 
  text-align: center;
  padding: 50px 0;
  background-color: #000000;
}
.footer-text {
  color: #ffffff;
}

/* レスポンシブ対応（スマホ用（ */
@media screen and (max-width:480px) {

* {
	float: none;
	position: static;
}
 
img {
	max-width: 100%;
	height: auto;
}

header {
    position: relative;
    height: 200px;
    width: 100%;
    text-align: center;
    background-image: url("img/back.jpg");
    background-position: left 50% top 50%;
    background-size:150%;
}

/* メイン */
main{
    margin-top: 10px;
    margin-bottom: 10px;
}

.content{
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    margin-right: 30px;
    margin-left: 30px;
}

.sub {
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
    margin-right: 20px;
    margin-left: 20px;
}

.about {
    margin-top: 10px;
    margin-bottom: 10px;
    margin-right: 50px;
    margin-left: 50px;
    background-color: black;
    background: rgba(0,0,0,0.7);
    padding-top: 20px;
    padding-bottom: 20px;
    padding-right: 40px;
    padding-left: 40px;
    color: white;
    text-align: center;
}

/* ボタン 大 */
.img_wrap{
  border: 5px solid white;
  width: 130px;
  height: 130px;
  margin: auto;
  margin-top: 5px;
  margin-bottom: 5px;
  overflow: hidden;
  position: relative;
}
.img_wrap img{
  width: 100%;
  cursor: pointer;
  transition-duration: 0.5s;
}

.img_wrap p {
  position: absolute;
  color: white;/*文字は白に*/
  font-weight: bold; /*太字に*/
  font-size: 2em;/*サイズ2倍*/
  font-family: 'Oswald', sans-serif;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%,-50%);
  -webkit-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
  margin:0;
  padding:0;
  /*文字の装飾は省略*/
  }

/* ボタン 小*/
.button {
  display: block;
  width: 150px;
  height: 50px;
  text-align: center;
  text-decoration: none;
  line-height: 35px !important;
  outline: none;
  margin: 0 auto;
  font-family: 'Oswald', sans-serif;
  font-size: 1.5em;/*サイズ2倍*/
  margin-top: 7px;
}
.button::before,
.button::after {
  position: absolute;
  z-index: -1;
  display: block;
  content: '';
}
.button,
.button::before,
.button::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all .4s;
  transition: all .4s;
}

.button {
  background-color: black;
  border: 5px solid white;
  color: #fff;
  line-height: 50px;
}

/* フッター */
footer {
  width: 100%;
  height: 50px; 
  text-align: center;
  padding: 5px 0;
  background-color: #000000;
}
.footer-text {
  color: #ffffff;
}

}