@charset "UTF-8";

html, body, .container {
  height: 100%;
  width: 100%;
  font-family: "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

*,
*:after,
*::before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body{
  background-image: url(../img/bgw.jpg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

#wrap{
  width: auto;
	margin: 5px 10px;
}

#agebox{
  width: 100%;
  max-width: 750px;
  min-width: 400px;
  height: auto;
  margin: 0 auto;
  padding-bottom: 50px;
  background: rgba(255,255,255, 0.75);
  box-shadow:rgba(123,212,255, 0.65098) 0px 0px 6px 4px;
  -webkit-box-shadow:rgba(123,212,255, 0.65098) 0px 0px 6px 4px;
  -moz-box-shadow:rgba(123,212,255, 0.65098) 0px 0px 6px 4px;
}

.tamamologo{
  position: relative;
  width: auto;
  max-width: 400px;
  height: 232px;
  margin: 0 auto;
  background: no-repeat url(../img/agecheck/logo.png);
  background-size: contain;
}

.text{
  position: relative;
  width: auto;
  max-width: 700px;
  min-width: 400px;
  height: 108px;
  margin: 15px auto 0 auto;
  background: no-repeat url(../img/agecheck/text.png);
  background-size: contain;
}

.ynbox{
  width: auto;
  min-width: 400px;
  margin-top: 50px;
  display: flex;
  display: -ms-flexbox;
  display: -webkit-flex;
  justify-content: space-around;
  -ms-flex-pack: space-around;
  -webkit-justify-content: space-around;
}

@media screen and (max-width: 500px){
  .ynbox{
    flex-direction: column;
    justify-content: center;
    -webkit-justify-content: center;
    -webkit-align-items: center;
    align-items:         center;
  }
}

.ynbox img{
  margin: 0px 5px 0px 5px;
}

.ynbox a.hover img{
    transition: 0.5s;
}

.ynbox a.hover:hover img{
    cursor:pointer;
    filter: alpha(opacity=40);        /* ie lt 8 */
    -ms-filter: "alpha(opacity=40)";  /* ie 8 */
    opacity:0.4;
    transition: 0.5s;
    zoom:1;
}

.copyright{
  width: auto;
  min-width: inherit;
  margin: 0 auto;
}

#copy{
  width: 100%;
  max-width: 750px;
  min-width: 400px;
  height: auto;
  margin: 0 auto;
}


.copyright p{
  text-align: center;
  font-size: 15px;
  font-family: 'Cabin', sans-serif;
  color:#fff;
  padding-left: 14px;
  line-height: 0.8em;
}
