 body{
  background-color: #2B580C;
  min-height: 0;
 }
 p#rank {
     text-align: center;
     color: #C6CBAF;
     font-size: 13px;
/*     margin-top: 25px;*/
     margin: 10px 0 0;
 }
 p#rank span{
  font-size: 20px;
 }
 p#date{
     color: #C6CBAF;  
     font-size: 10px;
 }
 #dispinfo_php #license_div{
  margin-left: 20px;
 }
 #syoumei_info{
/*  height: 2.5em;
  margin: 0 20px;*/
  margin: 0 20px 5px;
  height: 1.5em;
 }
 #syoumei_info p{
     color: #C6CBAF;
     line-height: 11px;
     margin: 0 10px;
 }
 #div_button {
    margin: 0 20px;
 }
 #div_button p{
    margin: 0;
 }
 #div_button img {
    max-width: 100%;
 }
 #div_button_flex2,
 #div_button_flex {
    display: flex;
    justify-content: space-between;
 }
 #div_button_flex p{
  width: 32%;
 }
 #div_button_flex2 p{
  width: 49%;
 }
 
 a#telno {
    position: absolute;
    bottom: 5%;
    right: 14%;
    font-size: 7vw;
    opacity: 0;
 }
 
 p#z_rousaihokenno {
    position: absolute;
    top: 10%;
    left: 42%;
    font-size: 19px;
 }
 p#z_name {
    position: absolute;
    top: 12.8%;
    right: 36%;
    font-size: 30px;
 }
 p#z_seirino {
    position: absolute;
    top: 29.5%;
    left: 47%;
    font-size: 13px;
 }
 p#z_birth {
    position: absolute;
    top: 33.5%;
    left: 47%;
    font-size: 13px;
 }
 p#z_y {
    position: absolute;
    bottom: 15%;
    right: 33%;
    font-size: 14px;
 }
 p#z_m {
    position: absolute;
    bottom: 15%;
    right: 26%;
    font-size: 14px;
 }
 p#z_d {
    position: absolute;
    bottom: 15%;
    right: 19%;
    font-size: 14px;
 }
 p#z_hy {
    position: absolute;
    top: 38%;
    right: 60%;
    font-size: 28px;
 }
 p#z_hm {
    position: absolute;
    top: 38%;
    right: 45.5%;
    font-size: 28px;
 }
 p#z_hd {
    position: absolute;
    top: 38%;
    right: 32%;
    font-size: 28px;
 }
 p#z_gy {
    position: absolute;
    top: 47%;
    right: 87%;
    font-size: 28px;
 }
 p#z_gm {
    position: absolute;
    top: 47%;
    right: 73%;
    font-size: 28px;
 }
 p#z_gd {
    position: absolute;
    top: 47%;
    right: 59%;
    font-size: 28px;
 }
 p#z_days {
    position: absolute;
    top: 51%;
    right: 29%;
    font-size: 22px;
 }
#dispinfo_php #license_div {
  position: relative;
  width: 590px;
  height: 384px;
}
#dispinfo_php #license2 {
  background-image: url("image/license2.png");
  display: none;
}
#dispinfo_php #zerosai {
  background-image: url("/logo_img/zerosai.png");
  display: none;
  font-family: serif;
}
#dispinfo_php .license2_info {
  display: none;
}
#dispinfo_php .zerosai_info {
  display: none;
}
#dispinfo_php #license,
#dispinfo_php #license2,
#dispinfo_php #zerosai {
  width: 590px;
  height: 384px;
  background-size: 100%;
  position: absolute;
  top: 0px;
  left: 0px;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  font-size: 19px;
  margin: 0;
}
#dispinfo_php #zerosai{
 height: 379px;
}



header{ display: none;}
/* 画像を光らせる */
/* https://www.trust5.jp/jquery-light/ */
.reflection-img{
    width       :510px;
    height      :350px;
    position    :relative;
    overflow    :hidden;
}
 
.reflection {
    height      :100%;
    width       :30px;
    position    :absolute;
    top         :180px;
    left        :0;
    background-color: #fff;
    opacity     :0;
    transform: rotate(-45deg);
    animation: reflection 3s ease-in-out infinite;
    -webkit-transform: rotate(-45deg);
    -webkit-animation: reflection 3s ease-in-out infinite;
    -moz-transform: rotate(-45deg);
    -moz-animation: reflection 3s ease-in-out infinite;
    -ms-transform: rotate(-45deg);
    -ms-animation: reflection 3s ease-in-out infinite;
    -o-transform: rotate(-45deg);
    -o-animation: reflection 3s ease-in-out infinite;
}
 
@keyframes reflection {
    0% { transform: scale(0) rotate(-45deg); opacity: 0; }
    80% { transform: scale(0) rotate(-45deg); opacity: 0.5; }
    81% { transform: scale(4) rotate(-45deg); opacity: 0.5; }
    100% { transform: scale(50) rotate(-45deg); opacity: 0; }
}
@-webkit-keyframes reflection {
    0% { -webkit-transform: scale(0) rotate(-45deg); opacity: 0; }
    80% { -webkit-transform: scale(0) rotate(-45deg); opacity: 0.5; }
    81% { -webkit-transform: scale(4) rotate(-45deg); opacity: 0.5; }
    100% { -webkit-transform: scale(50) rotate(-45deg); opacity: 0; }
}
@-moz-keyframes reflection {
    0% { -moz-transform: scale(0) rotate(-45deg); opacity: 0; }
    80% { -moz-transform: scale(0) rotate(-45deg); opacity: 0.5; }
    81% { -moz-transform: scale(4) rotate(-45deg); opacity: 0.5; }
    100% { -moz-transform: scale(50) rotate(-45deg); opacity: 0; }
}
@-ms-keyframes reflection {
    0% { -ms-transform: scale(0) rotate(-45deg); opacity: 0; }
    80% { -ms-transform: scale(0) rotate(-45deg); opacity: 0.5; }
    81% { -ms-transform: scale(4) rotate(-45deg); opacity: 0.5; }
    100% { -ms-transform: scale(50) rotate(-45deg); opacity: 0; }
}
@-o-keyframes reflection {
    0% { -o-transform: scale(0) rotate(-45deg); opacity: 0; }
    80% { -o-transform: scale(0) rotate(-45deg); opacity: 0.5; }
    81% { -o-transform: scale(4) rotate(-45deg); opacity: 0.5; }
    100% { -o-transform: scale(50) rotate(-45deg); opacity: 0; }
}



 h2{
/*  margin-top: 0;
  margin-bottom: 30px;*/
  margin-top: 20px;
  margin-bottom: 10px;
  text-align: center;
  color: #707070;
  font-size: 17px;
  font-weight: bold;
 }
#date{
 font-size: 10px;
 text-align: right;
 padding-right: 20px;
 margin: 0;
}
 header .inner{
  display: none;
 }
 header #h_namebox{
  display: none;
 }
 #stamp {
    position: absolute;
  width: 30%;
  bottom: 30%;
  right: 5%;
 }
 #stamp_date {
    position: absolute;
    color: #f00;
    font-weight: bold;
    bottom: 41%;
    right: 6.5%;
    font-size: 25px;
 }
 
 #dispinfo_php #license {
  margin-top: 0;
 }
 #dispinfo_php #license #license_table{
  left: 5.5%;
 }
 #dispinfo_php #license #license_table table.l2 {
    width: 24em;
    line-height: 1.4em;
/*    margin-top: -5%;*/
    margin-top: 2%;
    font-size: 22px;
 }
 #dispinfo_php #license #license_table table th {
  font-weight: bold;
 }
 #dispinfo_php #license #license_table table.l2 tr {
  height: 1em;
 }
 #dispinfo_php #license #license_table table.l2 th{
  width: 7em;
 }

#dispinfo_php #license #license_table table.center_name {
/*    margin-top: 25px;*/
}
#dispinfo_php #license table.center_name {
    position: absolute;
    bottom: 20%;
    right: 7.5%;
    text-align: left;
    width: 65%;
 font-size: 14px;
}
#dispinfo_php #license img#logo {
    position: absolute;
    bottom: 4%;
    left: 3%;
    width: 12%;
}
 #kikan p{
     text-align: center;
     background-color: #318F39;
     color: #fff;
     line-height: 35px;
     padding-top: 2px;
     margin: 0;
     font-size: 17px;
     font-weight: bold;
 }
 #syoumei_info p{
    font-size: 10px;
 }
 #renraku_info #ri_tel{
  margin: 0 auto;
 }
 #renraku_info #ri_tel a{
  width: 60%;
  display: block;
  margin: 0 auto;
 }
 #renraku_info #ri_tel img{
  width: 100%;
 }
 #renraku_info #ri_info {
/*      text-align: center;
      font-weight: bold;
      line-height: 1.6em;*/
      font-size: 13px;
      margin: 0;
      padding: 0 1em;
/*      margin-left: 7%;*/
 }
#dispinfo_php #re_entry {
    display: flex;
    justify-content: center;
} 
#dispinfo_php #re_entry a{
  padding: 13px 0;
  margin: 0 2px;
  background-color: #FD9001;
  border: none;
  border-radius: 0;
  font-weight: bold;
  box-shadow: 0px 4px 0px 0px #c57308;
  font-family: 'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック',sans-serif;
  font-size: 21px;
  }
 #rotate{
  display: block;
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  z-index: 100;
 }
#buttons {
    display: flex;
    width: 80%;
    justify-content: space-between;
    margin: 0 auto;
}
#buttons a {
    width: 30%;
}
#buttons a img {
    width: 100%;
}

 @media screen and (max-width: 640px){
  .inner {
      padding: 0px;
      margin: 0;
  }
 }




/* https://www.conifer.jp/csstest/css-3d_cube-tab.html */
.perspective {
  -webkit-perspective: 76em;
  perspective: 76em;
  -webkit-perspective-origin: 50% 50px;
  perspective-origin: 50% 50px;
/*  width: 494px;*/
  width: 100%;
  margin: 0 auto;
  font-family: 'Roboto', sans-serif;
  font-weight: 100;
  color: #fff;
  text-align: center;
  }
input {
  display: none;
  }
.tab {
  position: absolute;
  width: 80px;
  height: 70px;
  background: pink;
/*  right: 0;*/
  bottom: -70px;
  line-height: 70px;
  font-weight: 300;
  }
.tab:nth-child(1) {
/*  top: -5px;*/
  left: 0px;
  background: #06D6A0;
  }
.tab:nth-child(2) {
/*  top: 69px;*/
  left: 85px;
  background: #1B9AAA;
  }
.tab:nth-child(3) {
/*  top: 143px;*/
  left: 170px;
  background: #EF476F;
  }
.cube {
  position: relative;
/*  margin: 60px auto 0;*/
  margin: 10px 0;
/*  width: 300px;*/
  width: 100%;
/*  height: 200px;*/
 height: calc(100vw * (378/590));
  -webkit-transform-origin: 0 100px;
  transform-origin: 0 100px;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-transition: -webkit-transform 0.5s ease-in;
  transition: -webkit-transform 0.5s ease-in;
  transition: transform 0.5s ease-in;
  transition: transform 0.5s ease-in, -webkit-transform 0.5s ease-in;
  }
.tab-content {
/*  width: 300px;*/
  width: 100%;
/*  height: 200px;*/
 height: calc(100vw * (378/590));
  position: absolute;
  }
.tab-content h1 {
  font-size: 25px;
  margin: 75px 0 10px;
  font-weight: 300;
  }
.tab-content p {
  font-size: 12px;
  }
.tab-content:nth-child(2) {
  -webkit-transform: translateZ(100px);
  transform: translateZ(100px);
  background: #1B9AAA;
  }
.tab-content:nth-child(1) {
/*  -webkit-transform: rotateX(-270deg) translateY(-100px);
  transform: rotateX(-270deg) translateY(-100px);*/
  -webkit-transform: rotateX(-270deg) translateY(calc(-1*(100vw * (378/590))/2));
  transform: rotateX(-270deg) translateY(calc(-1*(100vw * (378/590))/2));
  -webkit-transform-origin: top left;
  transform-origin: top left;
  background: #06D6A0;
  }
.tab-content:nth-child(3) {
/*  -webkit-transform: rotateX(-90deg) translateY(100px);
  transform: rotateX(-90deg) translateY(100px);*/
  -webkit-transform: rotateX(-90deg) translateY(calc(1*(100vw * (378/590))/2));
  transform: rotateX(-90deg) translateY(calc(1*(100vw * (378/590))/2));
  -webkit-transform-origin: bottom center;
  transform-origin: bottom center;
  background: #EF476F;
  }
#tab-top:checked ~ .cube {
  -webkit-transform: rotateX(-90deg);
  transform: rotateX(-90deg);
  }
#tab-front:checked ~ .cube {
  -webkit-transform: rotateX(0deg);
  transform: rotateX(0deg);
  }
 
#tab-bottom:checked ~ .cube {
  -webkit-transform: rotateX(90deg);
  transform: rotateX(90deg);
  }