@charset "UTF-8";
/* CSS Document */

/* ------------------------------------------------------------------------------------- */

/* インフォグラフィック */

/* ------------------------------------------------------------------------------------- */

p.supplement{
	width: 800px;
	margin: auto;
	padding: 20px 0;
	line-height: 2em;
	text-align: center;
}
.infographics-wrap{
	width: 800px;
	margin: 50px auto 0;
	padding: 0 0 30px 0;
	display: flex;
	flex-wrap: wrap;
	justify-content:space-between;
}
.infographics-box{
	width: 48%;
  box-sizing: border-box;
  padding: 5px 5px 2px 5px;
	text-align: center;
  box-shadow: 0.1px 0.1px 3px black;
  margin-bottom: 30px;
  overflow: hidden;
  position: relative;
}
.tips{
  position: absolute;
  background: rgb(49,205,225);
  background: linear-gradient(60deg, rgba(49,205,225,1) 0%, rgba(29,216,193,0.89) 53%, rgba(49,205,225,1) 100%);
  width: 80%;
  padding: 15px 5px;
  border-radius: 5px;
  z-index: 100;
  line-height: 1.8em;
  color:floralwhite;
  font-size: 80%;
  -webkit-animation: float 1.5s infinite;
  animation: float 1.5s infinite;
}
.tips span.bold{
  font-size: 200%;
  font-weight: bold;
  padding: 0 2px;
}
.tips::before{
  position: absolute;
  content:'';
  top: -10px;
  left: 15px;
  border-right: 10px solid transparent;
  border-bottom: 10px solid rgba(29,216,193,0.89);
  border-left: 10px solid transparent;
}
.infographics-box img{
	width: 100%;
    height: auto;
}
.infographics-box:hover img{
    opacity: 1;
    -webkit-animation: flash 1.5s;
    animation: flash 1.5s;
}

@-webkit-keyframes float {
  0% {
    top: 52%;
    left: 50%;
    transform: translate(-50%,-50%);
  }
  50% {
    top: 48%;
    left: 50%;
    transform: translate(-50%,-50%);
  }
  100% {
    top: 52%;
    left: 50%;
    transform: translate(-50%,-50%);
  }
}
@keyframes float {
  0% {
    top: 52%;
    left: 50%;
    transform: translate(-50%,-50%);
  }
  50% {
    top: 48%;
    left: 50%;
    transform: translate(-50%,-50%);
  }
  100% {
    top: 52%;
    left: 50%;
    transform: translate(-50%,-50%);
  }
}

@-webkit-keyframes flash {
  0% {
    opacity: .4;
  }
  100% {
    opacity: 1;
  }
}
@keyframes flash {
  0% {
    opacity: .4;
  }
  100% {
    opacity: 1;
  }

}

/* ------------------------------------------------------------------------------------- */

/* インフォグラフィック（レスポンシブ） */

/* ------------------------------------------------------------------------------------- */

@media screen and (max-width: 767px) {
p.supplement{
	width: 90%;
  margin: auto;
  padding: 0;
  line-height: 2em;
  text-align: center;
  font-size: 3vw;
}
.infographics-wrap{
	width: calc(100% - 5%);
	margin: 50px auto 0;
	padding: 0 0 30px 0;
}
.infographics-box{
	width: 48%;
	text-align: center;
	margin: 0 0 20px 0;
  padding: 3px;
}   
.infographics-box img{
	width: 100%;
    height: auto;
    margin-bottom: 0;
}
.tips{
  position: absolute;
  background: rgb(49,205,225);
  background: linear-gradient(60deg, rgba(49,205,225,1) 0%, rgba(29,216,193,0.89) 53%, rgba(49,205,225,1) 100%);
  box-sizing: border-box;
  padding: 5px 5px;
  border-radius: 5px;
  width: 100%;
  z-index: 100;
  line-height: 1.8em;
  color:floralwhite;
  font-size: 80%;
  -webkit-animation: float 1.5s infinite;
  animation: float 1.5s infinite;
}
.tips::before{
  position: absolute;
  content:'';
  top: -10px;
  left: 15px;
  border-right: 10px solid transparent;
  border-bottom: 10px solid rgba(29,216,193,0.89);
  border-left: 10px solid transparent;
}
}