@charset "utf-8";

body {
	margin: 0;
	font-family: sans-serif;
	color:#252525;
	font-size:16px;
	background-color: #fff;
	line-height: 1.8;
}

.container {
	margin: 0 auto;
	max-width: 1000px;
}






/* 
各パートにパディング、背景、テキスト色などを指定する
<div class="container">の子要素に指定する
*/

header {
	padding: 10px 10px 5px 10px;
	background: #6a5acd;
}

footer {
	padding: 20px 16px 10px 16px;
	background: #565656;
	color: #fff;
}


main {
	padding: 20px 10px 20px 10px;
}

/* ビューポート */
@media only screen and (min-width: 768px) {
	.container {
		padding: 0 20px;
	}
	main {
		padding: 20px 30px;
	}

}	

/* post */
.post {
	padding:10px;
}


/* そのたCSS */

header h1{
	font-size: 24px;
	color: #fff;
}

.moji1{
	font-size: 20px;
	color:#0066cc;
}

.gry{
	color:#666;
}
.moji2{
	color:#0066cc;
}

.copyright {
	margin: 0;
	text-align: center;
}

.point {
	color:crimson;
}

.center-t {
	text-align: center;
}

.kakomi1{
	background-color: crimson;
	color: white;
	padding: 0 10px;
}

.kakomi2{
	background-color:#3366cc;
	color: white;
	padding: 0 10px;
}

h3 {
	padding: 3px 20px;
	background-color: #4d5aaf;
	margin-top:40px;
	margin-bottom: 25px;
	color: white;
}


h4 {
	padding: 3px 20px;
	background-color:crimson;
	margin-top:40px;
	margin-bottom: 25px;
	color: white;
}


.red2{
	color: crimson;
	font-weight: bold;
}

.blue2{
	color: #0099ff;
	font-weight: bold;
}

.grn2{
	color:forestgreen;
	font-weight: bold;
}
.ao{
	color:#3366cc;
	font-size:18px;
}

.futo {
	font-weight: bold;
}

.bl-box {
 padding: 15px;
 background: #bce2e8;
}

.pk-box {
 padding: 15px;
 background: #ffe4e1;
}

.map-box {
 margin: 0 auto;
max-width: 600px;
}



/* 画像レスポンシブ */
img{
	max-width:100%;
	height:auto;
}
/* 画像マウスオーバー画像効果 */
a:hover img {
  filter: alpha(opacity=70);
  -moz-opacity: 0.6;
  opacity: 0.6;
}


/* ふわふわ浮かぶ
----------------------------------*/
.fuwafuwa {
  animation: fuwafuwa 3s infinite ease-in-out .8s alternate;
  background: url(img/choucho.png) no-repeat center center / 70px auto;
  display: inline-block;
  transition: 1.5s ease-in-out;
  width: 70px;
  height: 70px;
  margin-top: 15px;
}
 
@keyframes fuwafuwa {
  0% {
    transform:translate(0, 0) rotate(-7deg);
  }
  50% {
    transform:translate(0, -7px) rotate(0deg);
  }
  100% {
    transform:translate(0, 0) rotate(7deg);
  }
}

/* プルプル揺れる
----------------------------------*/
.shake{
  animation: shake .1s linear infinite;
  width:130px;
  height:75px;
  background:#0091EA;
  background: url("img/kemusi.png");
  margin:20px;
}

@keyframes shake {
  0% {
    transform: translateX(0);
  }

  40% {
    transform: translateX(-3%);
  }
  
  80% {
    transform: translateX(3%);
  }

  100% {
    transform: translateX(0);
  }
}

/* プルプル揺れるたて
----------------------------------*/
.shake2{
  animation: shake2 .1s linear infinite;
  width:83px;
  height:57px;
  background:#0091EA;
  background: url("img/tento.png");
  margin:20px;
}

@keyframes shake2 {
  0% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-3%);
  }
  
  80% {
    transform: translateY(3%);
  }

  100% {
    transform: translateY(0);
  }
}

/* box1
----------------------------------*/
.box1 {
    width:100px;
    height:80px;
    background:cornflowerblue;
    transition-property:background,width;
    transition-duration:2s;
    transition-timing-function:ease-in-out;
	padding: 20px;
} 
.box1:hover{
    width:400px;
    background:#cd5c5c;
}



/* box2
----------------------------------*/

.box2 {
padding: 20px;
margin: 20px 0;
background-color: pink;
border-radius: 15px;
animation-name: box-color;
animation-duration: 10s;
animation-iteration-count: infinite;
}


@keyframes box-color {
    0% {
        background-color: skyblue;
    }
    25% {
        background-color: plum;
    }
    50% {
        background-color:greenyellow;
    }
	75% {
        background-color:lightgreen;
    }
		100% {
        background-color: pink;
    }
}


/* box3フワッと出る
----------------------------------*/


.content {
 opacity: 0;
 transform: translate(0, 100px);
 transition: all 1.5s;
}

.content.visible {
 opacity: 1;
 transform: translate(0, 0);
}

/* ページ変更でフワッと出る
----------------------------------*/
body {
-webkit-animation: fadeIn 1.8s ease 0s 1 normal;
animation: fadeIn 1.8s ease 0s 1 normal;
}

@keyframes fadeIn {
0% {
opacity: 0
}

100% {
opacity: 1
}
}

@-webkit-keyframes fadeIn {
0% {
opacity: 0
}

100% {
opacity: 1
}
}