﻿/*
 * $ AX Chronicle Cascading Style Sheet axcss.css Revision 2.00 $
 */

*{
  box-sizing: border-box;
}
html, body, div, iframe, img, ins, kbd, q, samp, ul, li, nav, 
table, tbody, tfoot, thead, tr, th, td, header, footer {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  vertical-align: baseline;
  background: transparent;
}
body {
  background: rgba(0,0,0,0);
  font-family: Arial, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  line-height: 1;
}
div, img, nav, p {
  animation-name: fadein;
  animation-duration: 1s;
  animation-iteration-count: 1;
}
@keyframes fadein {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*********************** Base **********************/

.center {
  margin: 0 auto;
}
.sub_title {
  font-weight: bold;
  border-bottom: solid 3px #333;
  margin: 10px;
}
.content_title {
  font-weight: bold;
  border-bottom: solid 3px #333;
  margin: 10px 0;
  width: 50%;
}
.text {
  text-align: left;
  line-height: 1.5;
  margin: 10px 20px;
}
.text_center {
  text-align: center
}
.text_sub {
  font-size: 14px;
  line-height: 1.2;
  margin-top: 5px;
}
.bold {
  font-weight: bold;
}
.content {
  line-height: 1.5;
  margin: 0 auto;
  min-height: calc(100vh - 120px);
  width: 100%;
}
.main_contents {
  margin: 40px auto;
}
.site_footer {
  background: rgba(0,0,0,0.7);
  padding: 40px 0;
  height: 120px;
  width: 100%;
}
.copyright {
  color: #fff;
  font-size: 14px;
  text-align: center;
}
.frame {
  width:100%;
}

/*********************** Left to Right **********************/

.line {
  position: relative;
  display: inline-block;
  text-decoration: none;
}
.line::after {
  position: absolute;
  bottom: -3px;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: #999;
  transform: scale(0, 1);
  transform-origin: right top;
  transition: transform .3s;
}
.line:hover::after {
  transform-origin: left top;
  transform: scale(1, 1);
}

/*********************** Page Top **********************/

#page_top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-size: 15px;
}
#page_top a {
  background: #000;
  text-decoration: none;
  color: #fff;
  line-height: 15px;
  text-align: center;
  padding: 20px 0;
  width: 100px;
  display: block;
  opacity: .8;
}
#page_top a:hover {
  text-decoration: none;
  background: #666;
}

/*********************** Loading **********************/

.cube_grid {
  animation-name: none;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
}
.cube_grid .cube {
  width: 33%;
  height: 33%;
  background-color: #000;
  float: left;
  -webkit-animation: cubeGridScaleDelay 1.3s infinite ease-in-out;
          animation: cubeGridScaleDelay 1.3s infinite ease-in-out; 
}
.cube_grid .cube1 {
  -webkit-animation-delay: 0.2s;
          animation-delay: 0.2s; }
.cube_grid .cube2 {
  -webkit-animation-delay: 0.3s;
          animation-delay: 0.3s; }
.cube_grid .cube3 {
  -webkit-animation-delay: 0.4s;
          animation-delay: 0.4s; }
.cube_grid .cube4 {
  -webkit-animation-delay: 0.1s;
          animation-delay: 0.1s; }
.cube_grid .cube5 {
  -webkit-animation-delay: 0.2s;
          animation-delay: 0.2s; }
.cube_grid .cube6 {
  -webkit-animation-delay: 0.3s;
          animation-delay: 0.3s; }
.cube_grid .cube7 {
  -webkit-animation-delay: 0s;
          animation-delay: 0s; }
.cube_grid .cube8 {
  -webkit-animation-delay: 0.1s;
          animation-delay: 0.1s; }
.cube_grid .cube9 {
  -webkit-animation-delay: 0.2s;
          animation-delay: 0.2s; }
@-webkit-keyframes cubeGridScaleDelay {
  0%, 70%, 100% {
    -webkit-transform: scale3D(1, 1, 1);
            transform: scale3D(1, 1, 1);
  } 35% {
    -webkit-transform: scale3D(0, 0, 1);
            transform: scale3D(0, 0, 1); 
  }
}
@keyframes cubeGridScaleDelay {
  0%, 70%, 100% {
    -webkit-transform: scale3D(1, 1, 1);
            transform: scale3D(1, 1, 1);
  } 35% {
    -webkit-transform: scale3D(0, 0, 1);
            transform: scale3D(0, 0, 1);
  } 
}
#loading {
  animation-name: none;
  width: 100vw;
  height: 100vh;
  transition: all 1s;
  background-color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
}
.loaded {
  animation-name: fadeout;
  animation-duration: 1s;
  animation-iteration-count: 1;
  opacity: 0;
  visibility: hidden;
}

/*********************** Menu **********************/

ul {
  list-style:none;
}
.title {
  color: #fff;
  font-weight: bold;
  display: table-cell;
  vertical-align: middle;
}
.accent {
  color: #e52;
}
.site_header {
  background: rgba(0,0,0,0.7);
  display: flex;
  position: fixed;
  justify-content: space-between;
  transition: .5s;
  width: 100%;
}
.site_header.transform {
  background: rgba(0,0,0,0.9);
  padding: 10px 0;
}
.gnav {
  display: table-cell;
  text-align : right;
  vertical-align: middle;
}
.gnav_menu {
  display: flex;
  justify-content: flex-end;
}
.gnav_menu_item a {
  color: #fff;
  text-decoration: none;
}

/*********************** Main **********************/

.background {
  animation:slide 10s ease-in-out infinite alternate;
  background-image: linear-gradient(-70deg, #fff 50%, #eee 50%);
  bottom:0;
  left:-50%;
  opacity:.5;
  position:fixed;
  right:-50%;
  top:0;
  z-index:-1;
}
.type1 {
  animation-direction:alternate-reverse;
  animation-duration:15s;
}
.type2 {
  animation-duration:20s;
}
@keyframes slide {
  0% {
    transform:translateX(-25%);
  }
  100% {
    transform:translateX(25%);
  }
}
.twitter {
  height: 500px;
  width: 100%;
  margin: 0 0 80px;
  padding: 20px 10px 40px;
}

/*********************** Mugen **********************/

.container {
  margin: 70px auto;
  width: 160px;
  height: 120px;
  position: relative;
  perspective: 1000px;
}
.carousel {
  animation-name: none;
  height: 100%;
  width: 100%;
  position: absolute;
  transform-style: preserve-3d;
  transition: transform 1s;
}
.item {
  animation-name: none;
  //margin: 10px;
  display: block;
  position: absolute;
  width: 160px;
  height: 120px;
}
.a {
  transform: rotateY(0deg) translateZ(350px);
}
.b {
  transform: rotateY(30deg) translateZ(350px);
}
.c {
  transform: rotateY(60deg) translateZ(350px);
}
.d {
  transform: rotateY(90deg) translateZ(350px);
}
.e {
  transform: rotateY(120deg) translateZ(350px);
}
.f {
  transform: rotateY(150deg) translateZ(350px);
}
.g {
  transform: rotateY(180deg) translateZ(350px);
}
.h {
  transform: rotateY(210deg) translateZ(350px);
}
.i {
  transform: rotateY(240deg) translateZ(350px);
}
.j {
  transform: rotateY(270deg) translateZ(350px);
}
.k {
  transform: rotateY(300deg) translateZ(350px);
}
.l {
  transform: rotateY(330deg) translateZ(350px);
}
.navi {
  margin: 60px auto 150px;
  user-select: none;
}
.prev, .next {
  float:left;
  height: 40px;
  width: 100px;
  text-align: center;
  line-height: 40px;
  border: 2px solid #333;
  background-color: #fff;
  transition: all .5s;
  cursor: pointer;
}
.prev:hover, .next:hover {
  color: #fff;
  background-color: #333;
}
.image {
  animation-name: none;
  border: 5px solid #333;
}

#wrap {
  margin: 40px auto 30px;
}
.tab {
  height: 40px;
  color: #000;
  text-align: center;
  line-height: 40px;
  float: left;
  border-bottom: 3px solid #333;
  cursor: pointer;
  background-image: linear-gradient(rgba(0,0,0,0) 50%, rgba(51,51,51,1) 50%);
  background-position: 0 0;
  background-size: auto 200%;
  transition: .3s;
}
.tab:hover {
  background-position: 0 100%;
  color: #fff;
}
.selected {
  background-color: #333;
  color: #fff;
  border: none;
  border-bottom: 3px solid #fff;
}
#slide_area {
  position: relative;
  clear: left;
  overflow: hidden;
}
.area {
  display: block;
  white-space: nowrap;
  position: absolute;
  width: 100%;
  height: 100%;
  line-height: 20px;
  text-align: center;
}
#slide1 {
  top: 0px;
  left: 0px;
}
#slide2 {
  top: 0px;
  left: 640px;
}
#slide3 {
  top: 0px;
  left: 1280px;
}
#slide4 {
  top: 0px;
  left: 1920px;
}
#slide5 {
  top: 0px;
  left: 2560px;
}
#slide6 {
  top: 0px;
  left: 3200px;
}
#slide7 {
  top: 0px;
  left: 3840px;
}
#slide8 {
  top: 0px;
  left: 4480px;
}
#slide {
  transition: transform 1s ease-in-out 0s;
  -moz-transition: -moz-transform 1s ease-in-out 0s;
  -webkit-transition: -webkit-transform 1s ease-in-out 0s;
}
.move_first {
  transform: translateX(0px);
  -moz-transform: translateX(0px);
  -webkit-transform: translateX(0px);
}
.move_slide2 {
  transform: translateX(-640px);
  -moz-transform: translateX(-640px);
  -webkit-transform: translateX(-640px);
}
.move_slide3 {
  transform: translateX(-1280px);
  -moz-transform: translateX(-1280px);
  -webkit-transform: translateX(-1280px);
}
.move_slide4 {
  transform: translateX(-1920px);
  -moz-transform: translateX(-1920px);
  -webkit-transform: translateX(-1920px);
}
.move_slide5 {
  transform: translateX(-2560px);
  -moz-transform: translateX(-2560px);
  -webkit-transform: translateX(-2560px);
}
.move_slide6 {
  transform: translateX(-3200px);
  -moz-transform: translateX(-3200px);
  -webkit-transform: translateX(-3200px);
}
.move_slide7 {
  transform: translateX(-3840px);
  -moz-transform: translateX(-3840px);
  -webkit-transform: translateX(-3840px);
}
.move_slide8 {
  transform: translateX(-4480px);
  -moz-transform: translateX(-4480px);
  -webkit-transform: translateX(-4480px);
}

/*********************** Mugen Sub **********************/

.char_content {
  width: 100%;
  height: 400px;
  line-height: 1.5;
  margin: 40px 0 0;
}
.char_name {
  font-size: 20px;
  font-weight: bold;
  border-bottom: solid 3px #333;
  margin-bottom: 26px;
}
.char_status {
  font-size: 16px;
  display: table-cell;
  vertical-align: top;
  width: 310px;
}
.char_image {
  display: table-cell;
  vertical-align: top;
  width: 320px;
  height: 240px;
  overflow: hidden;
  position: relative;
}
.char_image img {
  width: 320px;
  height: 240px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  left: 0px;
  top: 0;
  z-index:10;
  opacity: 0;
  -webkit-animation: anime 10s 0s infinite;
  animation: anime 10s 0s infinite;
}
@keyframes anime {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    z-index:1;
  }
}
.char_image img:nth-of-type(2) {
  -webkit-animation-delay: 5s;
  animation-delay: 5s;
}
.char_text {
  font-size: 16px;
  text-align: left;
  width: 100%;
  margin-top: 10px;
}
.dl {
  display: inline-block;
  width: 130px;
  height: 40px;
  text-align: center;
  text-decoration: none;
  line-height: 40px;
  outline: none;
  position: relative;
  -webkit-perspective: 300px;
  perspective: 300px;
  margin: 10px 5px;
}
.dl::before,
.dl::after {
  position: absolute;
  z-index: -1;
  display: block;
  content: '';
}
.dl,
.dl::before,
.dl::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all .3s;
  transition: all .3s;
}
.dl span {
  display: block;
  position: absolute;
  width: 130px;
  height: 40px;
  border: 2px solid #333;
  background-color: #fff;
  color: #000;
  text-align: center;
  line-height: 40px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all .3s;
  transition: all .3s;
  pointer-events: none;
}
.dl span:nth-child(1) {
  background-color: #333;
  color: #fff;
  -webkit-transform: rotateX(90deg);
  -moz-transform: rotateX(90deg);
  transform: rotateX(90deg);
  -webkit-transform-origin: 50% 50% -20px;
  -moz-transform-origin: 50% 50% -20px;
  transform-origin: 50% 50% -20px;
}
.dl span:nth-child(2) {
  background-color: #fff;
  color: #000;
  -webkit-transform: rotateX(0deg);
  -moz-transform: rotateX(0deg);
  transform: rotateX(0deg);
  -webkit-transform-origin: 50% 50% -21px;
  -moz-transform-origin: 50% 50% -21px;
  transform-origin: 50% 50% -21px;
}
.dl:hover span:nth-child(1) {
  -webkit-transform: rotateX(0deg);
  -moz-transform: rotateX(0deg);
  transform: rotateX(0deg);
}
.dl:hover span:nth-child(2) {
  background-color: #333;
  -webkit-transform: rotateX(-90deg);
  -moz-transform: rotateX(-90deg);
  transform: rotateX(-90deg);
}

/*********************** Link **********************/

.link {
  width: 200px;
  line-height: 18px;
  text-align: center;
  display: table-cell;
  vertical-align: middle;
  background-color: #444;
  color: #FFF;
  text-decoration: none;
  font-weight: bold;
  border: 2px solid #444;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.link:after{
  width: 100%;
  height: 0;
  content:"";
  position: absolute;
  top: 50%;
  left: 50%;
  background : #FFF;
  opacity: 0;
  transform: translateX(-50%) translateY(-50%) rotate(45deg);
  transition: .3s;
  z-index: -1;
}
.link:hover{
  color: #111;
}
.link:hover:after{
  height: 300%;
  opacity: 1;
}
.link:active:after{
  height: 200%;
  opacity: 1;
}
.clear:after {
  display: block;
  clear: both;
  content: "";
}
.box {
  width: 200px;
  margin: 10px;
  float:left;
}
.box_wrap {
  height:auto;
  text-align: center;
  margin: 20px auto 40px;
}

/*********************** Responsive **********************/

/* スマートフォン用(767px以下) */
@media screen and (max-width:767px) {
  body {
    font-size: 13px;
  }
  .title {
    font-size: 15px;
  }
  .accent_line {
    display: table;
    width: 100%;
    padding: 0 10px;
    border-bottom: solid 2px #e52;
  }
  .sub_title {    
    font-size: 14px;
  }
  .site_header {
    padding: 30px 0;
  }
  .gnav_menu_item {
    font-size: 14px;
    margin-left: 5px;
  }
  .content {
    padding-top: 80px;
  }
  .main_contents {
    margin: 40px 5px;
  }
  .navi {
    width: 200px;
  }
  .prev, .next {
    width: 80px;
    margin: 0 10px;
  }
  #wrap {
    width: 100%;
  }
  .tab {
    width: 72px;
  }
  #slide_area {
    width: 100%;
    height: 900px;
  }
  .link {
    height: 50px;
    font-size: 14px;
  }
  .box {
    height: 80px;
  }
  .box_wrap {
    width:220px;
  }
}
/* PC用(768px以上) */
@media screen and (min-width:768px) {
  body {
    font-size: 16px;
  }
  .title {
    font-size: 45px;
  }
  .accent_line {
    display: table;
    width: 100%;
    padding: 0 20px;
    border-bottom: solid 5px #e52;
  }
  .sub_title {    
    font-size: 20px;
  }
  .site_header {
    padding: 40px 0;
  }
  .gnav_menu_item {
    font-size: 18px;
    margin-left: 20px;
  }
  .content {
    padding-top: 130px;
  }
  .main_contents {
    width: 700px;
  }
  .navi {
    width: 600px;
  }
  .prev, .next {
    width: 140px;
    margin: 0 80px;
  }
  #wrap {
    width: 640px;
  }
  .tab {
    width: 80px;
  }
  #slide_area {
    width: 640px;
    height: 900px;
  }
  .link {
    height: 180px;
    font-size: 15px;
  }
  .box {
    height: 210px;
  }
  .box_wrap {
    width:660px;
  }
}

/* スマートフォン(iframe)用(639px以下) */
@media screen and (max-width:639px) {
  .char_name {
    font-size: 14px;
  }
  .char_status {
    font-size: 13px;
    width: 100%;
  }
  .char_text {
    font-size: 13px;
  }
  .char_image {
    animation-name: none;
    width: 280px;
    height: 210px;
    border: none;
    left: -285px;
    overflow: visible;
    opacity: .2;
    z-index:-1;
  }
  .char_image img {
    width: 280px;
    height: 210px;
    border: solid 2px #000;
  }
}
